Shaders with pygtkglext
Posted
by qba
on Stack Overflow
See other posts from Stack Overflow
or by qba
Published on 2009-12-12T14:45:05Z
Indexed on
2010/05/09
13:28 UTC
Read the original article
Hit count: 314
Do someone know how to get glsl shaders work in gtk-opengl window? With glut all glCreateProgram
etc. functions works, but when I tried to put the same gl code into pygtkglext window, its complaining about NullReference:
OpenGL.error.NullFunctionError: Attempt to call an undefined function glCreateProgram, check for bool(glCreateProgram) before calling
So then I from OpenGL.GL.ARB.shader_objects import *
, but the result is similar:
OpenGL.error.NullFunctionError: Attempt to call an undefined function glCreateProgramObjectARB, check for bool(glCreateProgramObjectARB) before calling
Any idea will be useful.
© Stack Overflow or respective owner