summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/i915tex/i915_vtbl.c
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2007-06-15 16:20:34 -0700
committerEric Anholt <eric@anholt.net>2007-06-15 16:20:34 -0700
commit7a452b21a2fa329871062a6ee49f0d0f4928d01c (patch)
tree4cc4ab6103032bbad8b45cafccb9b3868c00e044 /src/mesa/drivers/dri/i915tex/i915_vtbl.c
parentb9323aa2cb4563fba1b328dbc802d673449056ac (diff)
Correct a mis-count in a LOAD_STATE_IMMEDIATE_1 length argument.
Diffstat (limited to 'src/mesa/drivers/dri/i915tex/i915_vtbl.c')
-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 2a3ccd01a0..5d6ad8d86c 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 */