[PyOpenGL-Users] Re: Have exceptions terminate glutMainLoop (Tarn Weisner Burton)
Brought to you by:
mcfletch
|
From: Frederic G. <fr...@sc...> - 2001-10-09 21:01:04
|
pyo...@li... wrote: > | But what if glGetError() gets raise in the event loop ? > | Shouldn't this be catched, without regard to the origin of the glError ? > | > | If this were the case, glutMainLoop should also check for glGetError()... > > glutMainLoop does get checked for glGetError, but this check is useless > since glutMainLoop never returns. > > Anyways, the debate is not over glGetError, but Python exceptions. > 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 ? FG |