signal _NEW_LIGHT in _tnl_copy_to_current()
authorBrian Paul <brian.paul@tungstengraphics.com>
Tue, 31 Oct 2006 16:01:11 +0000 (16:01 +0000)
committerBrian Paul <brian.paul@tungstengraphics.com>
Tue, 31 Oct 2006 16:01:11 +0000 (16:01 +0000)
src/mesa/tnl/t_vtx_api.c

index cc00dfda30236910cd0ab1cfb44a5871fc20cf34..b766ce2d2ce0275745fc03e7fa7c4234e682fd33 100644 (file)
@@ -174,6 +174,8 @@ static void _tnl_copy_to_current( GLcontext *ctx )
    }
          
    ctx->Driver.NeedFlush &= ~FLUSH_UPDATE_CURRENT;
+
+   ctx->NewState |= _NEW_LIGHT;
 }