#249 Missing RELEASE_BEHAVIOR and RELEASE_BEHAVIOR_NONE

1.12.0
closed
None
1
2015-01-24
2014-08-27
Anonymous
No

WGL_CONTEXT_RELEASE_BEHAVIOR_ARB and WGL_CONTEXT_RELEASE_BEHAVIOR_NONE_ARB are missing in wglew.h.

Since OpenGL 4.5 these should be present for example to disable the implicit glFlush on makeCurrent.

Example code:
if(GLEW_VERSION_4_5)
{
int attribList[] = {
WGL_CONTEXT_MAJOR_VERSION_ARB, 4, WGL_CONTEXT_MINOR_VERSION_ARB, 5, WGL_CONTEXT_RELEASE_BEHAVIOR_ARB, WGL_CONTEXT_RELEASE_BEHAVIOR_NONE_ARB, 0 };

        HGLRC hRC = wglMakeContextCurrentARB(wglGetCurrentDC(), NULL, attribList);
        wglMakeCurrent(wglGetCurrentDC(), hRC);

}

according to http://www.slideshare.net/Mark_Kilgard/opengl-45-update-for-nvidia-gpus

Discussion

  • Nigel Stewart

    Nigel Stewart - 2014-08-28
    • assigned_to: Nigel Stewart
    • Group: 1.10.0 --> 1.11.1
     
  • Nigel Stewart

    Nigel Stewart - 2014-09-18
    • status: open --> closed
     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks