Re: [PyOpenGL-Users] Problem attaching Texture to FBO on intel GMA 45000MHD (error when calling glF
Brought to you by:
mcfletch
From: Gijs <in...@bs...> - 2010-02-04 21:51:28
|
Hello Thomas, I don't really have a solution for you, but you can use the following code to check what PyOpenGL actually does with your calls/data: import logging import OpenGL logging.basicConfig( level = logging.DEBUG ) OpenGL.FULL_LOGGING = True You might be able to figure out why it gives the error using the output. Regards, Gijs On 4-2-2010 22:35, Thomas Hansen wrote: > I figured out a workaround. If I disable OpenGL.ERROR_CHECK, > everything works just fine. If I get the error code after calling > glFramebufferTexture2DEXT, it does not return a bad code, but instead > the expected GL_FRAMEBUFFER_COMPLETE_EXT code. So I'm guessing there > is a bug in the error checking somewhere? > > It's funky behavior though, and only happens on this laptop (but I've > tried with all the 3.0> pyOpenGL version). Another odd thing is that > bool(glGenFrameBuffersEXT) returns false, although the function > clearly exists. > > So still not sure exactly why this is happening, but at least it works > with minor work around (would be nice for debugging if I could get the > auto ERROR_CHECK to work at teh same time though) > > -- > Thomas > > > |