Re: [PyOpenGL-Users] bug in upstream version of pyopengl
Brought to you by:
mcfletch
From: Mike C. F. <mcf...@vr...> - 2014-03-19 03:53:07
|
On 14-03-10 02:38 PM, rndblnch wrote: > hello mike, > > i just tested the bleeding edge of pyopengl (rev 740) and found a bug in the > error handling code: > the OpenGL.error._ErrorChecker.nullGetError method (used when error checking > is enabled but not the accelerate module between glBegin/glEnd pairs) > returns None; but the result of self._currentChecker() is tested against > self._noErrorResult which is 0. > so with no accelerate and error checking, glBegin always raises and exception. I've modified the nullGetError method to return self._noErrorResult. Thanks for the bug report. Mike -- ________________________________________________ Mike C. Fletcher Designer, VR Plumber, Coder http://www.vrplumber.com http://blog.vrplumber.com |