Callback Registration – Changed Behavior. The method for registering callbacks in GLUT has changed. Instead of calling:
glutSetReshapeFuncCallback(OnResize) glutReshapeFunc()
You will call:
glutReshapeFunc(OnResize)
If you need to unbind the callback then just use None instead of a callback function in the callback registration function, i.e.
glutReshapeFunc(None)
If you need your code to run under both versions, you can catch a raised NameError on glutSetReshapeFuncCallback and call glutReshapeFunc. See OpenGLContext.GLUTContext for a demonstration.
glutInit – Changed Behavior. This method initializes the GLUT windowing system taking a non-string sequence of strings such as available in sys.argv. PyOpenGL would allow you to use a single string as the argument. glutInit returns the arguments not used by GLUT as a list of strings.