summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2006-10-31 16:01:11 +0000
committerBrian Paul <brian.paul@tungstengraphics.com>2006-10-31 16:01:11 +0000
commit72f49657e8f7eac9bdb09435230fbe8f6a2c854b (patch)
treed36e69bf558b2143bc675c1528298af1320647d2
parentecd1743a0c88b7e574848c0cb100fdcd880979de (diff)
signal _NEW_LIGHT in _tnl_copy_to_current()
-rw-r--r--src/mesa/tnl/t_vtx_api.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/tnl/t_vtx_api.c b/src/mesa/tnl/t_vtx_api.c
index cc00dfda30..b766ce2d2c 100644
--- a/src/mesa/tnl/t_vtx_api.c
+++ b/src/mesa/tnl/t_vtx_api.c
@@ -174,6 +174,8 @@ static void _tnl_copy_to_current( GLcontext *ctx )
}
ctx->Driver.NeedFlush &= ~FLUSH_UPDATE_CURRENT;
+
+ ctx->NewState |= _NEW_LIGHT;
}