[ pyopengl-Bugs-1591492 ] Callback resetting problem if GLUT_GUARD_CALLBACKS is set
"SourceForge.net" <[email protected]>
| Newsgroups | gmane.comp.python.opengl.devel |
|---|---|
| Message-ID | <[email protected]> |
Bugs item #1591492, was opened at 2006-11-06 18:12 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=105988&aid=1591492&group_id=5988 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: GLUT Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: David Murmann (dmurmann) Assigned to: Nobody/Anonymous (nobody) Summary: Callback resetting problem if GLUT_GUARD_CALLBACKS is set Initial Comment: 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 (like win32). In line 58 the condition if GLUT_GUARD_CALLBACKS: could be replaced by if GLUT_GUARD_CALLBACKS and callable( function ): to fix this. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=105988&aid=1591492&group_id=5988 ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ PyOpenGL Homepage http://pyopengl.sourceforge.net