summaryrefslogtreecommitdiffstats
path: root/src/mesa
diff options
context:
space:
mode:
authorPatrice Mandin <[email protected]>2006-12-08 16:40:34 +0000
committerPatrice Mandin <[email protected]>2006-12-08 16:40:34 +0000
commit5c80270b91a3054a00a3c95f7b15b7398c8dccab (patch)
tree334ab63af5ee20c247e565ddce6efafc46a8677c /src/mesa
parent65c54a685a0ac7d08ad608c25d0e3c318f8be43f (diff)
grr, always check twice before commit
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/drivers/dri/nouveau/nv10_state.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/nouveau/nv10_state.c b/src/mesa/drivers/dri/nouveau/nv10_state.c
index bb9abe98671..ed688a076bc 100644
--- a/src/mesa/drivers/dri/nouveau/nv10_state.c
+++ b/src/mesa/drivers/dri/nouveau/nv10_state.c
@@ -369,7 +369,7 @@ static void nv10Lightfv(GLcontext *ctx, GLenum light, GLenum pname, const GLfloa
spotlightUpdate = SPOTLIGHT_UPDATE_DIRECTION;
break;
case GL_SPOT_EXPONENT:
- spotlightUpdate = SPOTLIGHT_UPDATE_DIRECTION;
+ spotlightUpdate = SPOTLIGHT_UPDATE_EXPONENT;
break;
case GL_SPOT_CUTOFF:
spotlightUpdate = SPOTLIGHT_UPDATE_ALL;