X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fgraphics%2Fglx%2Fglcontext.cpp;h=699f856f35d06ce239f7576e7b499500f3b6fc6a;hb=294c354ae3b1f26887c37f866f082e52c08d80f1;hp=6859e3e1b3ab105fb314ac12690beef83c622fbc;hpb=2ed9d7a0a96638bdf0614c1cf858719e7ced40d3;p=libs%2Fgui.git diff --git a/source/graphics/glx/glcontext.cpp b/source/graphics/glx/glcontext.cpp index 6859e3e..699f856 100644 --- a/source/graphics/glx/glcontext.cpp +++ b/source/graphics/glx/glcontext.cpp @@ -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; };