r300: Use the defined values for R300_VAP_CNTL_STATUS.
authorOliver McFadden <z3ro.geek@gmail.com>
Sun, 6 May 2007 11:36:24 +0000 (11:36 +0000)
committerOliver McFadden <z3ro.geek@gmail.com>
Sun, 6 May 2007 11:36:24 +0000 (11:36 +0000)
src/mesa/drivers/dri/r300/r300_state.c

index a1e2d529b60c3518106459e0a38e5c2453e9fe46..2a1b6c3848fbb4e626ae9d0b3e0583668f8bd578 100644 (file)
@@ -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)