From be9b8e993d2cedf643070449b3db87e072170e77 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Sun, 30 Oct 2016 17:00:38 +0530 Subject: [PATCH] Disable OpenGL error checking for performance --- kitty/__init__.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/kitty/__init__.py b/kitty/__init__.py index e69de29bb..81be94848 100644 --- a/kitty/__init__.py +++ b/kitty/__init__.py @@ -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