diff options
author | Francisco Jerez <[email protected]> | 2010-03-21 11:49:46 +0100 |
---|---|---|
committer | Francisco Jerez <[email protected]> | 2010-03-21 11:49:46 +0100 |
commit | c48226e81d6a070a4bbaf42e0a310a868bcbe935 (patch) | |
tree | bf9ad7c00fabb695995a5b58b13186f8b7ce6996 /src/mesa/drivers/dri/nouveau | |
parent | 7f1f4c14eced51bf3f43764e2864693ba1c4a6d5 (diff) |
dri/nouveau: Reemit the light model state when lighting goes on/off.
Diffstat (limited to 'src/mesa/drivers/dri/nouveau')
-rw-r--r-- | src/mesa/drivers/dri/nouveau/nouveau_state.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/nouveau/nouveau_state.c b/src/mesa/drivers/dri/nouveau/nouveau_state.c index ef2cc787de7..7697090f6a6 100644 --- a/src/mesa/drivers/dri/nouveau/nouveau_state.c +++ b/src/mesa/drivers/dri/nouveau/nouveau_state.c @@ -189,6 +189,7 @@ nouveau_enable(GLcontext *ctx, GLenum cap, GLboolean state) case GL_LIGHTING: context_dirty(ctx, FRAG); context_dirty(ctx, MODELVIEW); + context_dirty(ctx, LIGHT_MODEL); context_dirty(ctx, LIGHT_ENABLE); for (i = 0; i < MAX_LIGHTS; i++) { |