From: Keith Whitwell Date: Tue, 9 Dec 2003 14:17:40 +0000 (+0000) Subject: No need to call radeonUpdateMaterial() from RunPipeline(). X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e6abd5c415ed391d1d749514abb4135e4432a25e;p=mesa.git No need to call radeonUpdateMaterial() from RunPipeline(). --- diff --git a/src/mesa/drivers/dri/radeon/radeon_state.c b/src/mesa/drivers/dri/radeon/radeon_state.c index 2772ca9d010..be170e832e6 100644 --- a/src/mesa/drivers/dri/radeon/radeon_state.c +++ b/src/mesa/drivers/dri/radeon/radeon_state.c @@ -2140,7 +2140,6 @@ static GLboolean check_material( GLcontext *ctx ) static void radeonWrapRunPipeline( GLcontext *ctx ) { radeonContextPtr rmesa = RADEON_CONTEXT(ctx); - TNLcontext *tnl = TNL_CONTEXT(ctx); GLboolean has_material; if (0) @@ -2163,7 +2162,6 @@ static void radeonWrapRunPipeline( GLcontext *ctx ) if (has_material) { TCL_FALLBACK( ctx, RADEON_TCL_FALLBACK_MATERIAL, GL_FALSE ); - radeonUpdateMaterial( ctx ); /* not needed any more? */ } }