Re: [PyOpenGL-Users] setting OpenGL.ERROR_CHECKING to False has strange consequence on function loa
Brought to you by:
mcfletch
From: Mike C. F. <mcf...@vr...> - 2014-02-19 17:13:15
|
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 |