X-Git-Url: http://git.tdb.fi/?p=libs%2Fgui.git;a=blobdiff_plain;f=source%2Fgraphics%2Fwgl%2Fglcontext.cpp;fp=source%2Fgraphics%2Fwgl%2Fglcontext.cpp;h=5a13dc4f79e6068089521ed887cb441723203931;hp=3627a17ff286ca6494c2e81cdf7e6f2051208d25;hb=bc1a38d6d2c966a6aee74e483ca7a7d37a56909e;hpb=77146f327c2d8fabc5e5cbbf3a7ed24e791e4368 diff --git a/source/graphics/wgl/glcontext.cpp b/source/graphics/wgl/glcontext.cpp index 3627a17..5a13dc4 100644 --- a/source/graphics/wgl/glcontext.cpp +++ b/source/graphics/wgl/glcontext.cpp @@ -55,7 +55,7 @@ void GLContext::platform_init(const GLOptions &opts) SetPixelFormat(dc, pf_index, &pfd); priv = new Private; - if(opts.forward_compatible || opts.gl_version_major!=DEFAULT_VERSION) + if(opts.forward_compatible || opts.gl_version_major!=GLOptions::DEFAULT_VERSION) { ContextHandle fake_context = wglCreateContext(dc); wglMakeCurrent(dc, fake_context);