Re: setting OpenGL.ERROR_CHECKING to False has strange consequence on function loading

"Mike C. Fletcher" <[email protected]> Wed, 19 Feb 2014 12:13:07 -0500
Newsgroups gmane.comp.python.opengl.user
Message-ID <[email protected]>
On 02/18/2014 03:44 PM, rndblnch wrote:
> hello again,
>
> while moving some code to core profile, i found a strange interaction
> between the OpenGL.ERROR_CHECKING flag and the function loading mechanism.
> the following program (MacOSX specific for the glut core profile flag)
> prints True if error checking is enabled and prints False otherwise.
I haven't been able to duplicate it here (i.e. it always returns true on 
a Linux amd box).  My guess is that we are seeing an error from earlier 
in the process startup being interpreted as "function doesn't exist" 
when loading that function, but I can't see *how* that would occur, as 
the actual code to get the entry point shouldn't care about OpenGL errors.

Sorry to not be much help here,
Mike


-- 
________________________________________________
   Mike C. Fletcher
   Designer, VR Plumber, Coder
   http://www.vrplumber.com
   http://blog.vrplumber.com


------------------------------------------------------------------------------
Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121054471&iu=/4140/ostg.clktrk
_______________________________________________
PyOpenGL Homepage
http://pyopengl.sourceforge.net