[PyOpenGL-Devel] [ pyopengl-Bugs-3540740 ] tests/shader_1.py error C7533 deprecated call to gl_Mode
Brought to you by:
mcfletch
|
From: SourceForge.net <no...@so...> - 2012-07-06 06:29:35
|
Bugs item #3540740, was opened at 2012-07-05 23:29 Message generated for change (Tracker Item Submitted) made by kierun You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=105988&aid=3540740&group_id=5988 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: Demo Group: v3.0.0 Status: Open Resolution: None Priority: 5 Private: No Submitted By: Yann Golanski (kierun) Assigned to: Mike C. Fletcher (mcfletch) Summary: tests/shader_1.py error C7533 deprecated call to gl_Model Initial Comment: When attempting to run tests/shader_1.py, I get the following error: RuntimeError: ('Shader compile failure (0): 0(3) : error C7533: global variable gl_ModelViewProjectionMatrix is deprecated after version 120\n0(3) : error C7533: global variable gl_Vertex is deprecated after version 120\n', ['#version 330\n void main() {\n gl_Position = gl_ModelViewProjectionMatrix * gl_Vertex;\n }'], GL_VERTEX_SHADER) If I change the #version to 120, I get this: NameError: name 'GL_UNIFORM_BUFFER' is not defined ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=105988&aid=3540740&group_id=5988 |