diff options
author | Brian Paul <[email protected]> | 2004-12-15 00:54:17 +0000 |
---|---|---|
committer | Brian Paul <[email protected]> | 2004-12-15 00:54:17 +0000 |
commit | 244adeb639cf13c531bcce78734b911fc19b943d (patch) | |
tree | 6a4b6abacb315adf69d773c9f167328f1929b51f /progs/demos/fplight.c | |
parent | 968cbf94d90755a6bfb016ac501aca4d9006cbc8 (diff) |
s/DP3/DP3_SAT/ to prevent negative values
Diffstat (limited to 'progs/demos/fplight.c')
-rw-r--r-- | progs/demos/fplight.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/progs/demos/fplight.c b/progs/demos/fplight.c index 4f8b42aa96e..6eb77c60ea6 100644 --- a/progs/demos/fplight.c +++ b/progs/demos/fplight.c @@ -180,7 +180,7 @@ static void Init( void ) "MUL R1, f[TEX0], R1.y;\n" "# Compute dot product of light direction and normal vector\n" - "DP3 R2, R0, R1;" + "DP3_SAT R2, R0, R1;" "MUL R3, Diffuse, R2; # diffuse attenuation\n" |