X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fgraphics%2Fcgl%2Fglcontext.cpp;h=9cddf38795cbe378961ba3f5c3f542b00b7d6e25;hb=bc1a38d6d2c966a6aee74e483ca7a7d37a56909e;hp=d05364e62e2cb3b912d2686f986da1070dc31c84;hpb=30cab36b531f6efddca07c3fe9a6b1b81ca42bde;p=libs%2Fgui.git diff --git a/source/graphics/cgl/glcontext.cpp b/source/graphics/cgl/glcontext.cpp index d05364e..9cddf38 100644 --- a/source/graphics/cgl/glcontext.cpp +++ b/source/graphics/cgl/glcontext.cpp @@ -14,7 +14,7 @@ typedef CocoaGLContext *ContextHandle; struct GLContext::Private { - ContextHandle context; + ContextHandle context = nullptr; }; void GLContext::platform_init(const GLOptions &opts)