diff options
Diffstat (limited to 'src/mesa/tnl/t_save_playback.c')
-rw-r--r-- | src/mesa/tnl/t_save_playback.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mesa/tnl/t_save_playback.c b/src/mesa/tnl/t_save_playback.c index 083901f079d..eaf30a3c181 100644 --- a/src/mesa/tnl/t_save_playback.c +++ b/src/mesa/tnl/t_save_playback.c @@ -149,6 +149,10 @@ static void _playback_copy_to_current( GLcontext *ctx, _mesa_update_color_material(ctx, ctx->Current.Attrib[VERT_ATTRIB_COLOR0]); } + if (node->have_materials) { + tnl->Driver.NotifyMaterialChange( ctx ); + } + /* CurrentExecPrimitive */ if (node->prim_count) { |