grr, always check twice before commit
authorPatrice Mandin <pmandin@freedesktop.org>
Fri, 8 Dec 2006 16:40:34 +0000 (16:40 +0000)
committerPatrice Mandin <pmandin@freedesktop.org>
Fri, 8 Dec 2006 16:40:34 +0000 (16:40 +0000)
src/mesa/drivers/dri/nouveau/nv10_state.c

index bb9abe98671fb62e838fc6de278019e9650bf7eb..ed688a076bc5d0ed5fb65e73ec59ff3762007467 100644 (file)
@@ -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;