Set _NEW_LIGHT when materials are present in display lists also.

This commit is contained in:
Keith Whitwell 2006-11-22 09:35:19 +00:00
parent c8238aa0ff
commit 96228d952d

View file

@ -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