diff options
author | Keith Whitwell <[email protected]> | 2007-03-15 10:27:47 +0000 |
---|---|---|
committer | Keith Whitwell <[email protected]> | 2007-03-15 10:29:38 +0000 |
commit | 4a7fe4fcfa9069043db3ba8e88a6b941788f5f43 (patch) | |
tree | b3851685a101ff15b72a343fbd3a43df24c079d6 /src | |
parent | 32d196820f5669a03bfd1adde1352b857ffda3b6 (diff) |
Fix off by one error in immediate state packet size.
Diffstat (limited to 'src')
-rw-r--r-- | src/mesa/drivers/dri/i915tex/i915_state.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i915tex/i915_state.c b/src/mesa/drivers/dri/i915tex/i915_state.c index 78ae4bdb5fc..1fafadced02 100644 --- a/src/mesa/drivers/dri/i915tex/i915_state.c +++ b/src/mesa/drivers/dri/i915tex/i915_state.c @@ -859,7 +859,7 @@ i915_init_packets(struct i915_context *i915) i915->state.Ctx[I915_CTXREG_LI] = (_3DSTATE_LOAD_STATE_IMMEDIATE_1 | I1_LOAD_S(2) | I1_LOAD_S(4) | - I1_LOAD_S(5) | I1_LOAD_S(6) | (4)); + I1_LOAD_S(5) | I1_LOAD_S(6) | (3)); i915->state.Ctx[I915_CTXREG_LIS2] = 0; i915->state.Ctx[I915_CTXREG_LIS4] = 0; i915->state.Ctx[I915_CTXREG_LIS5] = 0; |