diff options
author | Dave Airlie <[email protected]> | 2009-09-01 12:15:32 +1000 |
---|---|---|
committer | Dave Airlie <[email protected]> | 2009-09-01 12:54:48 +1000 |
commit | 97aa3d553f73d955a5c3eced33384348158307a7 (patch) | |
tree | 4ace4e5dced62e473136e00ed82ea949f49cd14e /src/mesa/drivers/dri/r200/r200_texstate.c | |
parent | 8126dfa9c24c972794193bf652d6d09a1d01b376 (diff) |
r200: emit cube for kms correctly + fix tex emit reset
CS checker found some issues.
Diffstat (limited to 'src/mesa/drivers/dri/r200/r200_texstate.c')
-rw-r--r-- | src/mesa/drivers/dri/r200/r200_texstate.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/r200/r200_texstate.c b/src/mesa/drivers/dri/r200/r200_texstate.c index 90da44bc019..c94834752ed 100644 --- a/src/mesa/drivers/dri/r200/r200_texstate.c +++ b/src/mesa/drivers/dri/r200/r200_texstate.c @@ -1084,6 +1084,8 @@ static void disable_tex_obj_state( r200ContextPtr rmesa, R200_STATECHANGE( rmesa, vtx ); rmesa->hw.vtx.cmd[VTX_TCL_OUTPUT_VTXFMT_1] &= ~(7 << (unit * 3)); + R200_STATECHANGE( rmesa, ctx ); + rmesa->hw.ctx.cmd[CTX_PP_CNTL] &= ~(R200_TEX_0_ENABLE << unit); if (rmesa->radeon.TclFallback & (R200_TCL_FALLBACK_TEXGEN_0<<unit)) { TCL_FALLBACK( rmesa->radeon.glCtx, (R200_TCL_FALLBACK_TEXGEN_0<<unit), GL_FALSE); } |