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_context.c | |
parent | 47cf442c1164b6b406117fccfb8b564602741ee3 (diff) |
Fix order of decomposition of quad.
Remove 'swrast->_MultiTexEnabled' derived value.
Diffstat (limited to 'src/mesa/swrast/s_context.c')
-rw-r--r-- | src/mesa/swrast/s_context.c | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/src/mesa/swrast/s_context.c b/src/mesa/swrast/s_context.c index d994e60029d..69e06609706 100644 --- a/src/mesa/swrast/s_context.c +++ b/src/mesa/swrast/s_context.c @@ -1,4 +1,4 @@ -/* $Id: s_context.c,v 1.20 2001/03/29 17:08:27 keithw Exp $ */ +/* $Id: s_context.c,v 1.21 2001/05/17 09:32:17 keithw Exp $ */ /* * Mesa 3-D graphics library @@ -351,10 +351,6 @@ _swrast_validate_derived( GLcontext *ctx ) if (swrast->NewState & _SWRAST_NEW_RASTERMASK) _swrast_update_rasterflags( ctx ); - if (swrast->NewState & _NEW_TEXTURE) - swrast->_MultiTextureEnabled = - ctx->Texture._ReallyEnabled > TEXTURE0_ANY; - if (swrast->NewState & _NEW_POLYGON) _swrast_update_polygon( ctx ); @@ -383,8 +379,8 @@ _swrast_Quad( GLcontext *ctx, _swrast_print_vertex( ctx, v2 ); _swrast_print_vertex( ctx, v3 ); } - SWRAST_CONTEXT(ctx)->Triangle( ctx, v0, v1, v2 ); - SWRAST_CONTEXT(ctx)->Triangle( ctx, v0, v2, v3 ); + SWRAST_CONTEXT(ctx)->Triangle( ctx, v0, v1, v3 ); + SWRAST_CONTEXT(ctx)->Triangle( ctx, v1, v2, v3 ); } void |