diff options
author | Keith Whitwell <[email protected]> | 2003-12-09 14:19:41 +0000 |
---|---|---|
committer | Keith Whitwell <[email protected]> | 2003-12-09 14:19:41 +0000 |
commit | 688193800789d0ad883ca72edf2da392295cf734 (patch) | |
tree | 1be098364dde05722ef107809cf07d5b281d5992 /src/mesa/tnl/t_save_playback.c | |
parent | a70fa7129cf8549f8c01b01d5e317a5a07485706 (diff) |
Call UpdateMaterials when they have changed
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) { |