This was observed in OpenGL-ctypes 3.0.0a4:
The code in OpenGL/GLUT/special.py does not
correctly check for None as a callback function.
To trigger the problem deregister a callback on
a platform where GLUT_GUARD_CALLBACKS is True
In line 58 the condition
could be replaced by
if GLUT_GUARD_CALLBACKS and callable( function ):
to fix this.
Log in to post a comment.