Re: [PyOpenGL-Users] shader error handling rely on glGetObjectParameterivARB which is not in core p
Brought to you by:
mcfletch
From: Mike C. F. <mcf...@vr...> - 2014-02-19 14:40:53
|
On 02/18/2014 04:46 PM, rndblnch wrote: > hello again, last report for tonight... > > i am still testing core profile, and yet another corner case: > OpenGL.GL.shaders.glCompileShader is imported from ARB.shader_objects > extension and its error handling relies on glGetObjectParameterivARB .. > which is not present in core profile. > this leads to trouble when trying to report compilation errors: This was due to being a bit lazy in wrapping the 2.0 version, I used precisely the same code as in the ARB extension, and in doing so made the core code depend on the ARB version of the functionality. bzr head *should* now fix this, though as the code actually worked on my machine I can't be sure the problem is actually fixed on true core-only profiles. BTW, your script there works fine on GLSL 1.3, which is what Intel integrated graphics provides these days (at least on Linux). Thanks, Mike -- ________________________________________________ Mike C. Fletcher Designer, VR Plumber, Coder http://www.vrplumber.com http://blog.vrplumber.com |