diff options
-rw-r--r-- | src/mesa/drivers/dri/i915tex/intel_idx_render.c | 4 |
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 | |