From: Eric Anholt Date: Fri, 15 Jun 2007 23:20:34 +0000 (-0700) Subject: Correct a mis-count in a LOAD_STATE_IMMEDIATE_1 length argument. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=7a452b21a2fa329871062a6ee49f0d0f4928d01c;p=mesa.git Correct a mis-count in a LOAD_STATE_IMMEDIATE_1 length argument. --- 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 */