On 10-09-18 11:32 AM, Giel van Schijndel wrote:
What happens when you remove the "invariant gl_Position;" specification?

Also do you know which version of GLSL your drivers are using?  I'm
guessing an #if __VERSION__, may be required.  (ftransform() is
deprecated in GLSL 1.30 and OpenGL ES's GLSL version simply doesn't
implement it).
I had the same issue, adding "#version 120" in the vertex shader seems to have fixed it for me,
using > 120 results in:

0(15) : warning C7533: global variable gl_Color is deprecated after version 120

0(18) : warning C7533: global variable gl_TexCoord is deprecated after version 120

0(18) : warning C7533: global variable gl_TextureMatrix is deprecated after version 120

0(18) : warning C7533: global variable gl_MultiTexCoord0 is deprecated after version 120

0(21) : warning C7533: global variable gl_ModelViewProjectionMatrix is deprecated after version 120

0(21) : warning C7533: global variable gl_Vertex is deprecated after version 120


_______________________________________________
Warzone-dev mailing list
[email protected]
https://mail.gna.org/listinfo/warzone-dev

Reply via email to