[PyOpenGL-Users] BUG (?) Exceptions not working?
Brought to you by:
mcfletch
From: Ian M. <geo...@gm...> - 2010-02-05 00:03:36
|
Hi, So I've been trying to debug some code, and it now occurs to me that PyOpenGL's method of redirecting OpenGL error flags to the console as tracebacks simply isn't working. Absolute nonsense goes unchallenged: glClear(GL_BLEND|GL_TEXTURE_2D) glViewport(0,0,-800,-600) glBegin(GL_QUADS) glClear(GL_DEPTH_BUFFER_BIT) glEnd() etc. I really REALLY need to be aware of opengl errors to debug various problems with framebuffers/shaders/etc. What's going on? PyOpenGL 3.0.1b2 Thanks, Ian |