summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorOliver McFadden <[email protected]>2007-05-06 11:36:24 +0000
committerOliver McFadden <[email protected]>2007-05-06 11:36:24 +0000
commit62cbe6c3f3ba972c653d00c3f3797dde576c29fa (patch)
tree35b20ed691656d9bcf994fd28be48523f1f03473 /src
parent16cec9f7674f9754bc03282d6b5596fbb086acd1 (diff)
r300: Use the defined values for R300_VAP_CNTL_STATUS.
Diffstat (limited to 'src')
-rw-r--r--src/mesa/drivers/dri/r300/r300_state.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/drivers/dri/r300/r300_state.c b/src/mesa/drivers/dri/r300/r300_state.c
index a1e2d529b60..2a1b6c3848f 100644
--- a/src/mesa/drivers/dri/r300/r300_state.c
+++ b/src/mesa/drivers/dri/r300/r300_state.c
@@ -1962,9 +1962,9 @@ void r300ResetHwState(r300ContextPtr r300)
r300->hw.unk2134.cmd[1] = 0x00FFFFFF;
r300->hw.unk2134.cmd[2] = 0x00000000;
if (_mesa_little_endian())
- r300->hw.vap_cntl_status.cmd[1] = 0x00000000;
+ r300->hw.vap_cntl_status.cmd[1] = R300_VC_NO_SWAP;
else
- r300->hw.vap_cntl_status.cmd[1] = 0x00000002;
+ r300->hw.vap_cntl_status.cmd[1] = R300_VC_32BIT_SWAP;
/* disable VAP/TCL on non-TCL capable chips */
if (!has_tcl)