From 96228d952de153424d66ee87ceb8f06dc2b5ca46 Mon Sep 17 00:00:00 2001 From: Keith Whitwell Date: Wed, 22 Nov 2006 09:35:19 +0000 Subject: Set _NEW_LIGHT when materials are present in display lists also. --- src/mesa/tnl/t_save_playback.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src') diff --git a/src/mesa/tnl/t_save_playback.c b/src/mesa/tnl/t_save_playback.c index 9504f0fe68..426e94372e 100644 --- a/src/mesa/tnl/t_save_playback.c +++ b/src/mesa/tnl/t_save_playback.c @@ -150,6 +150,7 @@ static void _playback_copy_to_current( GLcontext *ctx, if (node->have_materials) { tnl->Driver.NotifyMaterialChange( ctx ); + ctx->NewState |= _NEW_LIGHT; } /* CurrentExecPrimitive -- cgit v1.2.3