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
|