This statechange is vtx state, not tcl.
authorEric Anholt <anholt@FreeBSD.org>
Sat, 9 Oct 2004 23:29:07 +0000 (23:29 +0000)
committerEric Anholt <anholt@FreeBSD.org>
Sat, 9 Oct 2004 23:29:07 +0000 (23:29 +0000)
src/mesa/drivers/dri/r200/r200_texstate.c

index f6df2c4f82256b1c278ec9d63ec1ce9e6815002d..81aec4f93839905fde430f0c1251cd6e0ab1415b 100644 (file)
@@ -1026,7 +1026,7 @@ static void disable_tex( GLcontext *ctx, int unit )
                                           R200_TEX_BLEND_0_ENABLE) << unit);
       rmesa->hw.ctx.cmd[CTX_PP_CNTL] |= R200_TEX_BLEND_0_ENABLE; 
         
-      R200_STATECHANGE( rmesa, tcl );
+      R200_STATECHANGE( rmesa, vtx );
       rmesa->hw.vtx.cmd[VTX_TCL_OUTPUT_VTXFMT_1] &= ~(7 << (unit * 3));
         
       if (rmesa->TclFallback & (R200_TCL_FALLBACK_TEXGEN_0<<unit)) {