From 56e89c9e4fb00b5c2af4536d4c50294608d0c46c Mon Sep 17 00:00:00 2001 From: Radosław Kujawa Date: Sun, 2 Aug 2026 22:04:06 +0200 Subject: Performance improvements, support userspace simulators --- src/mesa/tnl/t_vb_light.c | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'src/mesa/tnl/t_vb_light.c') diff --git a/src/mesa/tnl/t_vb_light.c b/src/mesa/tnl/t_vb_light.c index 1a89bf3..7d19c15 100644 --- a/src/mesa/tnl/t_vb_light.c +++ b/src/mesa/tnl/t_vb_light.c @@ -118,12 +118,11 @@ static GLuint prepare_materials( GLcontext *ctx, store->mat_bitmask |= (1<mat_count) { + _mesa_update_material( ctx, ~0 ); + _mesa_validate_all_lighting_tables( ctx ); + } return store->mat_count; } -- cgit