From: Keith Whitwell Date: Tue, 9 Dec 2003 14:18:18 +0000 (+0000) Subject: No need to call UpdateMaterial() from RunPipeline(). X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=8a340279f4366e097adce479241a2ede8e977128;p=mesa.git No need to call UpdateMaterial() from RunPipeline(). --- diff --git a/src/mesa/drivers/dri/r200/r200_state.c b/src/mesa/drivers/dri/r200/r200_state.c index 2a3df39be03..d07078c59ef 100644 --- a/src/mesa/drivers/dri/r200/r200_state.c +++ b/src/mesa/drivers/dri/r200/r200_state.c @@ -2114,7 +2114,6 @@ static GLboolean check_material( GLcontext *ctx ) static void r200WrapRunPipeline( GLcontext *ctx ) { r200ContextPtr rmesa = R200_CONTEXT(ctx); - TNLcontext *tnl = TNL_CONTEXT(ctx); GLboolean has_material; if (0) @@ -2137,7 +2136,6 @@ static void r200WrapRunPipeline( GLcontext *ctx ) if (has_material) { TCL_FALLBACK( ctx, R200_TCL_FALLBACK_MATERIAL, GL_FALSE ); - r200UpdateMaterial( ctx ); /* not needed any more? */ } }