summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKeith Whitwell <keith@tungstengraphics.com>2007-03-18 20:21:04 +0000
committerKeith Whitwell <keith@tungstengraphics.com>2007-03-18 20:21:04 +0000
commitc847abffa8e6f736943f1fe72b3487dd2f264cbe (patch)
tree7b4adbd2a1ab88d76cf38f844b00526f235c176e
parent75d739fee45640757a324b13437a4ac51bcdfc2b (diff)
remove unnecessary zero pad
-rw-r--r--src/mesa/drivers/dri/i915tex/intel_idx_render.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/mesa/drivers/dri/i915tex/intel_idx_render.c b/src/mesa/drivers/dri/i915tex/intel_idx_render.c
index 3a6b6c061c..c0331cde86 100644
--- a/src/mesa/drivers/dri/i915tex/intel_idx_render.c
+++ b/src/mesa/drivers/dri/i915tex/intel_idx_render.c
@@ -344,9 +344,7 @@ static void emit_prims( GLcontext *ctx,
/* XXX: Can emit upto 64k indices, need to split larger prims
*/
- BEGIN_BATCH(2 + (nr+1)/2, INTEL_BATCH_CLIPRECTS);
-
- OUT_BATCH(0);
+ BEGIN_BATCH(1 + (nr+1)/2, INTEL_BATCH_CLIPRECTS);
OUT_BATCH( _3DPRIMITIVE |
hw_prim |
PRIM_INDIRECT |