summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2007-06-15 16:20:34 -0700
committerEric Anholt <[email protected]>2007-06-15 16:20:34 -0700
commit7a452b21a2fa329871062a6ee49f0d0f4928d01c (patch)
tree4cc4ab6103032bbad8b45cafccb9b3868c00e044 /src/mesa/drivers/dri
parentb9323aa2cb4563fba1b328dbc802d673449056ac (diff)
Correct a mis-count in a LOAD_STATE_IMMEDIATE_1 length argument.
Diffstat (limited to 'src/mesa/drivers/dri')
-rw-r--r--src/mesa/drivers/dri/i915tex/i915_vtbl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i915tex/i915_vtbl.c b/src/mesa/drivers/dri/i915tex/i915_vtbl.c
index 2a3ccd01a05..5d6ad8d86cf 100644
--- a/src/mesa/drivers/dri/i915tex/i915_vtbl.c
+++ b/src/mesa/drivers/dri/i915tex/i915_vtbl.c
@@ -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 */