summaryrefslogtreecommitdiffstats
path: root/progs/demos/arbfplight.c
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2003-08-31 19:06:10 +0000
committerBrian Paul <brian.paul@tungstengraphics.com>2003-08-31 19:06:10 +0000
commitb3680df593acc113fbbd1cef92baf441276ace31 (patch)
treee2fe274ff2a63764dadf16676103bd2926ec9880 /progs/demos/arbfplight.c
parent254e20172167a090575a4854c15806db313a0e0e (diff)
downloadexternal_mesa3d-b3680df593acc113fbbd1cef92baf441276ace31.zip
external_mesa3d-b3680df593acc113fbbd1cef92baf441276ace31.tar.gz
external_mesa3d-b3680df593acc113fbbd1cef92baf441276ace31.tar.bz2
s/DP4/DP3/
Diffstat (limited to 'progs/demos/arbfplight.c')
-rw-r--r--progs/demos/arbfplight.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/progs/demos/arbfplight.c b/progs/demos/arbfplight.c
index aa0b7e2..d0b6bc9 100644
--- a/progs/demos/arbfplight.c
+++ b/progs/demos/arbfplight.c
@@ -220,10 +220,10 @@ static void Init( void )
"DP4 result.position.w, pos, modelviewProj[3]; \n"
"# transform normal by inv transpose of modelview, put in tex0 \n"
- "DP4 result.texcoord[0].x, norm, invModelview[0]; \n"
- "DP4 result.texcoord[0].y, norm, invModelview[1]; \n"
- "DP4 result.texcoord[0].z, norm, invModelview[2]; \n"
- "DP4 result.texcoord[0].w, norm, invModelview[3]; \n"
+ "DP3 result.texcoord[0].x, norm, invModelview[0]; \n"
+ "DP3 result.texcoord[0].y, norm, invModelview[1]; \n"
+ "DP3 result.texcoord[0].z, norm, invModelview[2]; \n"
+ "DP3 result.texcoord[0].w, norm, invModelview[3]; \n"
"END\n";
;