From: Brian Paul Date: Tue, 31 Oct 2006 16:01:11 +0000 (+0000) Subject: signal _NEW_LIGHT in _tnl_copy_to_current() X-Git-Tag: android-x86-1.6~2793 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=72f49657e8f7eac9bdb09435230fbe8f6a2c854b;p=android-x86%2Fexternal-mesa.git signal _NEW_LIGHT in _tnl_copy_to_current() --- diff --git a/src/mesa/tnl/t_vtx_api.c b/src/mesa/tnl/t_vtx_api.c index cc00dfda302..b766ce2d2ce 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; }