vcl/source/opengl/OpenGLContext.cxx | 9 +++++++++ 1 file changed, 9 insertions(+)
New commits: commit e912e156a39de46c0100e66e1efdf294f9ccc015 Author: Jan Holesovsky <ke...@collabora.com> Date: Mon Nov 17 18:20:44 2014 +0100 windows opengl: WIP don't wait on vsync. Change-Id: I7fe4b17d24e809c0427552151ddcf227d5e61563 diff --git a/vcl/source/opengl/OpenGLContext.cxx b/vcl/source/opengl/OpenGLContext.cxx index 3ec1415..2a2a94d 100644 --- a/vcl/source/opengl/OpenGLContext.cxx +++ b/vcl/source/opengl/OpenGLContext.cxx @@ -874,6 +874,15 @@ bool OpenGLContext::InitGLEW() #endif +#if 0 // TODO make this to compile +#ifdef WNT + if (!WGLEW_EXT_swap_control || !wglSwapIntervalEXT(0)) + { + SAL_WARN("vcl.opengl", "Failed to set swap interval to 0, rendering will be extremely slow."); + } +#endif +#endif + SAL_INFO("vcl.opengl", "OpenGLContext::ImplInit----end"); mbInitialized = true; return true; _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits