[Libreoffice-commits] core.git: Branch 'libreoffice-5-0' - vcl/source

Jan Holesovsky kendy at collabora.com
Tue Sep 1 06:28:10 PDT 2015


 vcl/source/opengl/OpenGLContext.cxx |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

New commits:
commit e52845efc27fc73975ae35f3a250cdb245193c62
Author: Jan Holesovsky <kendy at collabora.com>
Date:   Tue Sep 1 14:46:32 2015 +0200

    windows opengl: Call InitGLEWDebugging() after we have the context.
    
    Change-Id: I1582443cf6799dd73a3909660d524eaacbc2d909
    Reviewed-on: https://gerrit.libreoffice.org/18237
    Reviewed-by: Miklos Vajna <vmiklos at collabora.co.uk>
    Tested-by: Miklos Vajna <vmiklos at collabora.co.uk>

diff --git a/vcl/source/opengl/OpenGLContext.cxx b/vcl/source/opengl/OpenGLContext.cxx
index 5e47f78..63588fd 100644
--- a/vcl/source/opengl/OpenGLContext.cxx
+++ b/vcl/source/opengl/OpenGLContext.cxx
@@ -998,7 +998,6 @@ bool OpenGLContext::ImplInit()
     }
 
     wglMakeCurrent(NULL, NULL);
-    InitGLEWDebugging();
     wglDeleteContext(hTempRC);
 
     if (!wglMakeCurrent(m_aGLWin.hDC, m_aGLWin.hRC))
@@ -1008,6 +1007,8 @@ bool OpenGLContext::ImplInit()
         return false;
     }
 
+    InitGLEWDebugging();
+
     g_vShareList.push_back(m_aGLWin.hRC);
 
     RECT clientRect;


More information about the Libreoffice-commits mailing list