From 89dae684aa1d74b06a4f70cb76b33671d0cef9e6 Mon Sep 17 00:00:00 2001 From: Keith Whitwell Date: Thu, 17 May 2001 09:32:17 +0000 Subject: Fix order of decomposition of quad. Remove 'swrast->_MultiTexEnabled' derived value. --- src/mesa/swrast/s_aatriangle.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/mesa/swrast/s_aatriangle.c') diff --git a/src/mesa/swrast/s_aatriangle.c b/src/mesa/swrast/s_aatriangle.c index 5b8cdbf6a41..13f03fdecc1 100644 --- a/src/mesa/swrast/s_aatriangle.c +++ b/src/mesa/swrast/s_aatriangle.c @@ -1,4 +1,4 @@ -/* $Id: s_aatriangle.c,v 1.16 2001/05/16 20:27:12 brianp Exp $ */ +/* $Id: s_aatriangle.c,v 1.17 2001/05/17 09:32:17 keithw Exp $ */ /* * Mesa 3-D graphics library @@ -420,7 +420,7 @@ _mesa_set_aa_triangle_function(GLcontext *ctx) if (ctx->Texture._ReallyEnabled) { if (ctx->_TriangleCaps & DD_SEPARATE_SPECULAR) { - if (swrast->_MultiTextureEnabled) { + if (ctx->Texture._ReallyEnabled > TEXTURE0_ANY) { SWRAST_CONTEXT(ctx)->Triangle = spec_multitex_aa_tri; } else { @@ -428,7 +428,7 @@ _mesa_set_aa_triangle_function(GLcontext *ctx) } } else { - if (swrast->_MultiTextureEnabled) { + if (ctx->Texture._ReallyEnabled > TEXTURE0_ANY) { SWRAST_CONTEXT(ctx)->Triangle = multitex_aa_tri; } else { -- cgit v1.2.3