Re: bug in upstream version of pyopengl
"Mike C. Fletcher" <[email protected]> Tue, 18 Mar 2014 23:53:00 -0400
| Newsgroups | gmane.comp.python.opengl.user |
|---|---|
| Message-ID | <[email protected]> |
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 ------------------------------------------------------------------------------ Learn Graph Databases - Download FREE O'Reilly Book "Graph Databases" is the definitive new guide to graph databases and their applications. Written by three acclaimed leaders in the field, this first edition is now available. Download your free book today! http://p.sf.net/sfu/13534_NeoTech _______________________________________________ PyOpenGL Homepage http://pyopengl.sourceforge.net