]> git.tdb.fi Git - libs/gui.git/blobdiff - source/graphics/glx/glcontext.cpp
Use default member initializers and defaulted default constructors
[libs/gui.git] / source / graphics / glx / glcontext.cpp
index 6859e3e1b3ab105fb314ac12690beef83c622fbc..699f856f35d06ce239f7576e7b499500f3b6fc6a 100644 (file)
@@ -17,10 +17,10 @@ typedef GLXContext ContextHandle;
 
 struct GLContext::Private
 {
-       ContextHandle context;
+       ContextHandle context = 0;
        // We need to create a window with the chosen visual
-       WindowHandle subwnd;
-       GLXWindow glxwnd;
+       WindowHandle subwnd = None;
+       GLXWindow glxwnd = None;
 };