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);