RE: [PyOpenGL-Users] Re: Have exceptions terminate glutMainLoop (Tarn Weisner Burton)
Brought to you by:
mcfletch
|
From: Tarn W. B. <twb...@us...> - 2001-10-09 22:14:56
|
| More precisely, the debate is about mapping Python exceptions | with glErrors - | Python code is being run under the control of a glut function -. | | Does anybody knows what happens is a glError is raised by opengl in a | glutMainLoop() callback function ? | See http://pyopengl.sourceforge.net/documentation/manual/upgrading-error_handlin g.html GL Errors are the same as Python exceptions in PyOpenGL2. If an exception gets raised in a callback and is not caught by the user's code, then PyOpenGL will catch it and print a traceback or exit if the exception is SystemExit. Tarn |