summaryrefslogtreecommitdiffstats
path: root/src/mesa
diff options
context:
space:
mode:
authorKeith Whitwell <[email protected]>2006-11-22 09:35:19 +0000
committerKeith Whitwell <[email protected]>2006-11-22 09:35:19 +0000
commit96228d952de153424d66ee87ceb8f06dc2b5ca46 (patch)
tree10a1c07da806ba02e0a8f958d38a7da6073979b3 /src/mesa
parentc8238aa0ff6c7604157537268ec80fb3285550e7 (diff)
Set _NEW_LIGHT when materials are present in display lists also.
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/tnl/t_save_playback.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/tnl/t_save_playback.c b/src/mesa/tnl/t_save_playback.c
index 9504f0fe680..426e94372ec 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