Disable OpenGL error checking for performance
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
import OpenGL
|
||||
|
||||
# PyOpenGL error checking is extremely slow, so disable it, since by default it
|
||||
# runs for every call into the OpenGL API
|
||||
OpenGL.ERROR_CHECKING = False
|
||||
|
||||
Reference in New Issue
Block a user