[PyOpenGL-Devel] Error checking induce performance problems
Brought to you by:
mcfletch
|
From: IvO <ivo...@gm...> - 2007-10-15 00:00:48
|
After some code inspection I figured out that using registerChecker is
not enough ... then,
I did:
from OpenGL.error import ErrorChecker
from OpenGL.GL import *
from OpenGL.GLU import *
from OpenGL.GLUT import *
. . .
...
...
if __name__ == '__main__':
ErrorChecker._currentChecker=ErrorChecker.nullGetError #
main()
The performance increase was huge.
Perhaps it's a bug.
Saludos,
IvO
|