Browse Source

_MultiTextureEnabled was being computed incorrectly

tags/mesa_3_5
Brian Paul 24 years ago
parent
commit
8aa019d2ef
1 changed files with 3 additions and 3 deletions
  1. 3
    3
      src/mesa/swrast/s_context.c

+ 3
- 3
src/mesa/swrast/s_context.c View File

/* $Id: s_context.c,v 1.6 2000/11/22 07:32:18 joukj Exp $ */
/* $Id: s_context.c,v 1.7 2000/12/09 22:09:50 brianp Exp $ */


/* /*
* Mesa 3-D graphics library * Mesa 3-D graphics library
_swrast_update_rasterflags( ctx ); _swrast_update_rasterflags( ctx );


if (swrast->NewState & _NEW_TEXTURE) if (swrast->NewState & _NEW_TEXTURE)
swrast->_MultiTextureEnabled = (ctx->Texture._ReallyEnabled &
~ENABLE_TEX0);
swrast->_MultiTextureEnabled =
(ctx->Texture._ReallyEnabled > ENABLE_TEX0);


if (swrast->NewState & _NEW_POLYGON) if (swrast->NewState & _NEW_POLYGON)
_swrast_update_polygon( ctx ); _swrast_update_polygon( ctx );

Loading…
Cancel
Save