OSDN Git Service

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 cc00dfd..b766ce2 100644 (file)
@@ -174,6 +174,8 @@ static void _tnl_copy_to_current( GLcontext *ctx )
    }
          
    ctx->Driver.NeedFlush &= ~FLUSH_UPDATE_CURRENT;
+
+   ctx->NewState |= _NEW_LIGHT;
 }