[PyOpenGL-Users] OpenGL.CONTEXT_CHECKING default value is not False as documented
Brought to you by:
mcfletch
From: rndblnch <rnd...@gm...> - 2014-02-18 12:47:56
|
hello, while profiling some of my code, i discovered that context checking is enabled by default, despite the documentation advertising the opposite (see OpenGL/__init__.py lines 79 vs. 185). i have no opinion on its default value (True is consistent with the other XXX_CHECKING flags) but maybe you should fix the docstring, and perhaps add a note about this flag in http://pyopengl.sourceforge.net/documentation/opengl_diffs.html since context checking introduces a rather high overhead. renaud |