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
I found adding an extra glDisable( GL_TEXTURE_2D ) call actually made my display lists work (even though there isn't any corresponding glEnable( GL_TEXTURE_2D ) in the program!). I think my program is crossing into some OpenGL UB and it's probably going to be untrustworthy if using any deprecated features
A lot of the code shown here is really great, but some things, like display lists have been deprecated in OpenGL 3.1 (WGL fonts etc)
That means a lot of this code appears to work in some OpenGL programs, as long as you haven't kicked your OpenGL state machine into GL 3.1+ mode
Once you kick your OpenGL state machine into GL 3.1+ mode, it seems a lot of the deprecated features just stop working and you get a blank screen
Deprecation warnings should be added to this code if possible so people know that parts of this code just won't work on later releases of OpenGL
The text was updated successfully, but these errors were encountered: