Disable OpenGL error checking for performance

This commit is contained in:
Kovid Goyal 2016-10-30 17:00:38 +05:30
parent 47a23cafbe
commit be9b8e993d

View File

@ -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