Re: [PyOpenGL-Users] OpenGL.CONTEXT_CHECKING default value is not False as documented
Brought to you by:
mcfletch
From: Mike C. F. <mcf...@vr...> - 2014-02-18 20:24:42
|
On 14-02-18 07:47 AM, rndblnch wrote: > 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. The default value should still be no-checking. I set it to True while I was working on the refactoring of the raw hierarchy to catch errors and then forgot to return it. Thanks, Mike -- ________________________________________________ Mike C. Fletcher Designer, VR Plumber, Coder http://www.vrplumber.com http://blog.vrplumber.com |