summaryrefslogtreecommitdiff
path: root/progs
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2006-08-30 23:40:53 +0000
committerBrian Paul <brian.paul@tungstengraphics.com>2006-08-30 23:40:53 +0000
commitc6f8176b3fcc4401b2bdd89b90ff8e838f3c58a3 (patch)
treede565e09e64d5df6a7d8c58966897f431e562205 /progs
parentb7fc1c32f8f4814987b35e2e92891c2fd6f9973b (diff)
make prog2 a legal program (texture reference fix)
Diffstat (limited to 'progs')
-rw-r--r--progs/tests/arbfptest1.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/progs/tests/arbfptest1.c b/progs/tests/arbfptest1.c
index 45d05125b2..7949f87edd 100644
--- a/progs/tests/arbfptest1.c
+++ b/progs/tests/arbfptest1.c
@@ -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"