You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
use glBegin glVertex glEnd cause "GL_INVALID_OPERATION error generated. Calling glFlush from the current immediate mode state is invalid. Check glBegin() / glEnd() pairs." message is outputed by gldebugmessagecallback,
it seems that when calls glVertexwglGetProcAddress will be called which calls glFlush implicitly on windows.
see also:
The basic problem is Microsoft's opengl32.dll calls glFlush from wglGetProcAddress() haskell-opengl/OpenGL#87
The text was updated successfully, but these errors were encountered:
use
glBegin glVertex glEnd
cause "GL_INVALID_OPERATION error generated. Calling glFlush from the current immediate mode state is invalid. Check glBegin() / glEnd() pairs." message is outputed by gldebugmessagecallback,it seems that when calls
glVertex
wglGetProcAddress
will be called which callsglFlush
implicitly on windows.see also:
The text was updated successfully, but these errors were encountered: