summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPatrice Mandin <pmandin@freedesktop.org>2006-12-08 16:40:34 +0000
committerPatrice Mandin <pmandin@freedesktop.org>2006-12-08 16:40:34 +0000
commit5c80270b91a3054a00a3c95f7b15b7398c8dccab (patch)
tree334ab63af5ee20c247e565ddce6efafc46a8677c /src
parent65c54a685a0ac7d08ad608c25d0e3c318f8be43f (diff)
grr, always check twice before commit
Diffstat (limited to 'src')
-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 bb9abe9867..ed688a076b 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;