On Fri, Sep 17, 2010 at 22:38:54 -0400, buginator wrote: > On 9/17/10, [email protected] wrote: >> Revision: 11676 >> >> vertex shader: don't use deprecated ftransform() > > error |10:33:24: [loadShaders] Vertex shader compilation has failed > [shaders/tcmask.vert] > error |10:33:24: [printShaderInfoLog] Shader info log: 0(7) : error C0000: > syntax error, unexpected ';' at token ";" > 0(7) : error C0501: type name expected at token ";" > 0(7) : warning C7022: unrecognized profile specifier "gl_Position" > 0(7) : warning C7022: unrecognized profile specifier "invariant" > info |10:33:24: [screenInitialise] Can't use shaders, switching > back to fixed pipeline. > > This is with latest Nvidia (windows) drivers.
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). -- Giel
signature.asc
Description: Digital signature
_______________________________________________ Warzone-dev mailing list [email protected] https://mail.gna.org/listinfo/warzone-dev
