Correct a mis-count in a LOAD_STATE_IMMEDIATE_1 length argument.
authorEric Anholt <eric@anholt.net>
Fri, 15 Jun 2007 23:20:34 +0000 (16:20 -0700)
committerEric Anholt <eric@anholt.net>
Fri, 15 Jun 2007 23:20:34 +0000 (16:20 -0700)
src/mesa/drivers/dri/i915tex/i915_vtbl.c

index 2a3ccd01a054dfb7f50576af993f03bd3631706f..5d6ad8d86cfb7ed3811192a9eb4c83a3209970ce 100644 (file)
@@ -197,7 +197,7 @@ i915_emit_invarient_state(struct intel_context *intel)
 
    /* Need to initialize this to zero.
     */
-   OUT_BATCH(_3DSTATE_LOAD_STATE_IMMEDIATE_1 | I1_LOAD_S(3) | (1));
+   OUT_BATCH(_3DSTATE_LOAD_STATE_IMMEDIATE_1 | I1_LOAD_S(3) | 0);
    OUT_BATCH(0);
 
    /* XXX: Use this */