mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-06-26 19:01:27 +00:00
Disable OpenGL error checking for performance
This commit is contained in:
parent
47a23cafbe
commit
be9b8e993d
1 changed files with 5 additions and 0 deletions
|
|
@ -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
|
||||
Loading…
Add table
Add a link
Reference in a new issue