diff options
author | Keith Whitwell <keith@tungstengraphics.com> | 2006-11-22 09:35:19 +0000 |
---|---|---|
committer | Keith Whitwell <keith@tungstengraphics.com> | 2006-11-22 09:35:19 +0000 |
commit | 96228d952de153424d66ee87ceb8f06dc2b5ca46 (patch) | |
tree | 10a1c07da806ba02e0a8f958d38a7da6073979b3 /src/mesa/tnl/t_save_playback.c | |
parent | c8238aa0ff6c7604157537268ec80fb3285550e7 (diff) |
Set _NEW_LIGHT when materials are present in display lists also.
Diffstat (limited to 'src/mesa/tnl/t_save_playback.c')
-rw-r--r-- | src/mesa/tnl/t_save_playback.c | 1 |
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 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 |