summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2011-02-21 16:02:26 +0000
committerChris Wilson <chris@chris-wilson.co.uk>2011-02-21 16:02:26 +0000
commita43f20e0699f0b60d1e1e3e7a0693192f8d2895d (patch)
treece3573df5fda74583d66d07a6e58e5407aea39b4 /src/mesa/drivers/dri
parent2c6793fb6bc89df16c23f727bcb072a157ab8d10 (diff)
i965: Remove spurious duplicate ADVANCE_BATCH
... a leftover from a bad merge. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src/mesa/drivers/dri')
-rw-r--r--src/mesa/drivers/dri/i965/brw_draw_upload.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_draw_upload.c b/src/mesa/drivers/dri/i965/brw_draw_upload.c
index 09d7a5ee14..17af046b50 100644
--- a/src/mesa/drivers/dri/i965/brw_draw_upload.c
+++ b/src/mesa/drivers/dri/i965/brw_draw_upload.c
@@ -559,7 +559,6 @@ static void brw_emit_vertices(struct brw_context *brw)
brw->vb.nr_current_buffers = i;
ADVANCE_BATCH();
}
- ADVANCE_BATCH();
BEGIN_BATCH(1 + brw->vb.nr_enabled * 2);
OUT_BATCH((CMD_VERTEX_ELEMENT << 16) | (2*brw->vb.nr_enabled - 1));