use ftransform()
authorBrian Paul <brian.paul@tungstengraphics.com>
Wed, 20 Aug 2008 21:32:33 +0000 (15:32 -0600)
committerBrian Paul <brian.paul@tungstengraphics.com>
Wed, 20 Aug 2008 21:33:03 +0000 (15:33 -0600)
progs/glsl/trirast.c

index 67cbac0546cafc658efd617cd15fb06242a01f17..89df64fc718deaf0dce2aa6a2b0fc248309d0adc 100644 (file)
@@ -190,7 +190,7 @@ Init(void)
       "}\n";
    static const char *vertShaderText =
       "void main() {\n"
-      "   gl_Position = gl_ModelViewProjectionMatrix * gl_Vertex;\n"
+      "   gl_Position = ftransform(); \n"
       "}\n";
 
    if (!ShadersSupported())