[Libreoffice-commits] core.git: include/vcl

Michael Stahl mstahl at redhat.com
Wed Sep 30 07:15:36 PDT 2015


 include/vcl/opengl/OpenGLContext.hxx |    3 +++
 1 file changed, 3 insertions(+)

New commits:
commit 37d243651b7db5dc313686f474f4e7c92e2160ce
Author: Michael Stahl <mstahl at redhat.com>
Date:   Wed Sep 30 16:12:55 2015 +0200

    vcl: even in the newfangled OpenGL world, initializing members is ...
    
    ... still a good idea.
    
    Change-Id: Iecbc9dc8481b0ccc85f1fb82d9e9884bdba61b28

diff --git a/include/vcl/opengl/OpenGLContext.hxx b/include/vcl/opengl/OpenGLContext.hxx
index e448be4..a0484fe 100644
--- a/include/vcl/opengl/OpenGLContext.hxx
+++ b/include/vcl/opengl/OpenGLContext.hxx
@@ -141,6 +141,9 @@ struct GLWindow
     GLWindow()
         :
 #if defined( _WIN32 )
+        hWnd(NULL),
+        hDC(NULL),
+        hRC(NULL),
 #elif defined( MACOSX )
 #elif defined( IOS )
 #elif defined( ANDROID )


More information about the Libreoffice-commits mailing list