summaryrefslogtreecommitdiff
path: root/progs
diff options
context:
space:
mode:
Diffstat (limited to 'progs')
-rw-r--r--progs/demos/fplight.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/progs/demos/fplight.c b/progs/demos/fplight.c
index eebe9d1c5c..4f8b42aa96 100644
--- a/progs/demos/fplight.c
+++ b/progs/demos/fplight.c
@@ -200,10 +200,10 @@ static void Init( void )
"DP4 o[HPOS].z, c[2], v[OPOS] ;\n"
"DP4 o[HPOS].w, c[3], v[OPOS] ;\n"
"# transform normal by inv transpose of modelview, put in tex0\n"
- "DP4 o[TEX0].x, c[4], v[NRML] ;\n"
- "DP4 o[TEX0].y, c[5], v[NRML] ;\n"
- "DP4 o[TEX0].z, c[6], v[NRML] ;\n"
- "DP4 o[TEX0].w, c[7], v[NRML] ;\n"
+ "DP3 o[TEX0].x, c[4], v[NRML] ;\n"
+ "DP3 o[TEX0].y, c[5], v[NRML] ;\n"
+ "DP3 o[TEX0].z, c[6], v[NRML] ;\n"
+ "DP3 o[TEX0].w, c[7], v[NRML] ;\n"
"END\n";
;