diff options
author | Keith Whitwell <[email protected]> | 2001-05-17 09:32:17 +0000 |
---|---|---|
committer | Keith Whitwell <[email protected]> | 2001-05-17 09:32:17 +0000 |
commit | 89dae684aa1d74b06a4f70cb76b33671d0cef9e6 (patch) | |
tree | 9b42d5eb082a5f37920af04048cd6b8a7f20749c /src/mesa/swrast/s_aatriangle.c | |
parent | 47cf442c1164b6b406117fccfb8b564602741ee3 (diff) |
Fix order of decomposition of quad.
Remove 'swrast->_MultiTexEnabled' derived value.
Diffstat (limited to 'src/mesa/swrast/s_aatriangle.c')
-rw-r--r-- | src/mesa/swrast/s_aatriangle.c | 6 |
1 files changed, 3 insertions, 3 deletions
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 { |