make prog2 a legal program (texture reference fix)
authorBrian Paul <brian.paul@tungstengraphics.com>
Wed, 30 Aug 2006 23:40:53 +0000 (23:40 +0000)
committerBrian Paul <brian.paul@tungstengraphics.com>
Wed, 30 Aug 2006 23:40:53 +0000 (23:40 +0000)
progs/tests/arbfptest1.c

index 45d05125b2614528a4d7869916d5b0317fd4c652..7949f87eddb2ce5b5cd61bcaa6a735243b1d730d 100644 (file)
@@ -120,7 +120,7 @@ static void Init( void )
    static const char *prog2 =
       "!!ARBfp1.0\n"
       "TEMP R0, R1, R2, R3;\n"
-      "TEX R0, fragment.texcoord,    texture[1], 2D; \n"
+      "TEX R0, fragment.texcoord,    texture[0], 2D; \n"
       "TEX R1, fragment.texcoord[1], texture[1], CUBE; \n"
       "TEX R2, fragment.texcoord[2], texture[2], 3D; \n"
       "TXP R3, fragment.texcoord[3], texture[3], RECT; \n"