diff options
author | Michael Stahl <mstahl@redhat.com> | 2015-09-30 16:12:55 +0200 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2015-09-30 16:13:53 +0200 |
commit | 37d243651b7db5dc313686f474f4e7c92e2160ce (patch) | |
tree | 0452783c2b4e04bdad84efbaa01242c7025ae095 | |
parent | 6cc54913077864ba92d2fdc3addec29ea89770fe (diff) |
vcl: even in the newfangled OpenGL world, initializing members is ...
... still a good idea.
Change-Id: Iecbc9dc8481b0ccc85f1fb82d9e9884bdba61b28
-rw-r--r-- | include/vcl/opengl/OpenGLContext.hxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/vcl/opengl/OpenGLContext.hxx b/include/vcl/opengl/OpenGLContext.hxx index e448be44da29..a0484fe94f9b 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 ) |