From: Keith Whitwell Date: Wed, 22 Nov 2006 09:35:19 +0000 (+0000) Subject: Set _NEW_LIGHT when materials are present in display lists also. X-Git-Tag: 062012170305~20091 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=96228d952de153424d66ee87ceb8f06dc2b5ca46;p=profile%2Fivi%2Fmesa.git Set _NEW_LIGHT when materials are present in display lists also. --- diff --git a/src/mesa/tnl/t_save_playback.c b/src/mesa/tnl/t_save_playback.c index 9504f0f..426e943 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