[PyOpenGL-Users] test context with opengl 3.3 context, for shader_instanced example?
Brought to you by:
mcfletch
From: Stuart A. <st...@ya...> - 2015-07-31 17:17:12
|
Hi, I've been trying to get the shader_instanced example at http://pyopengl.sourceforge.net/context/tutorials/shader_instanced.html working, but having some trouble. I've been using the fixed version from herehttp://stackoverflow.com/questions/16945500/why-is-this-tutorial-example-of-a-shader-not-displaying-any-geometry-as-it-is-su But get this error RuntimeError: ('Shader compile failure (0): 0:1(10): error: GLSL 3.30 is not supported. Supported versions are: 1.10, 1.20, 1.30, 1.00 ES, and 3.00 ES\n', ['#version 330\n void main() {\n gl_Position = gl_ModelViewProjectionMatrix * gl_Vertex;\n }'], GL_VERTEX_SHADER) Is it possible to make the testcontext be OpenGL 3.3, glxinfo tells me: OpenGL vendor string: Intel Open Source Technology Center OpenGL renderer string: Mesa DRI Intel(R) Ivybridge Mobile OpenGL core profile version string: 3.3 (Core Profile) Mesa 10.7.0-devel (git-7830e46 2015-07-31 vivid-oibaf-ppa) OpenGL core profile shading language version string: 3.30 OpenGL core profile context flags: (none) OpenGL core profile profile mask: core profile OpenGL core profile extensions: OpenGL version string: 3.0 Mesa 10.7.0-devel (git-7830e46 2015-07-31 vivid-oibaf-ppa) OpenGL shading language version string: 1.30 OpenGL context flags: (none) OpenGL extensions: OpenGL ES profile version string: OpenGL ES 3.0 Mesa 10.7.0-devel (git-7830e46 2015-07-31 vivid-oibaf-ppa) OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.00 OpenGL ES profile extensions: S++ |