Error checking induce performance problems
IvO <[email protected]>
| Newsgroups | gmane.comp.python.opengl.devel |
|---|---|
| Message-ID | <[email protected]> |
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
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
PyOpenGL Homepage
http://pyopengl.sourceforge.net