From: Patrice Mandin Date: Fri, 8 Dec 2006 16:40:34 +0000 (+0000) Subject: grr, always check twice before commit X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=5c80270b91a3054a00a3c95f7b15b7398c8dccab;p=mesa.git grr, always check twice before commit --- 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;