Bugs item #3540740, was opened at 2012-07-05 23:29
Message generated for change (Comment added) made by mcfletch
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
----------------------------------------------------------------------
>Comment By: Mike C. Fletcher (mcfletch)
Date: 2012-07-17 20:06
Message:
The GL_UNIFORM_BUFFER not defined error is because it's only available in
current bzr head PyOpenGL. The version was changed because of reports that
certain machines were unable to compile without a 330 declaration; 120 is
apparently the last version that "supports" the fixed pipeline.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105988&aid=3540740&group_id=5988
|