i965: Remove spurious duplicate ADVANCE_BATCH
authorChris Wilson <chris@chris-wilson.co.uk>
Mon, 21 Feb 2011 16:02:26 +0000 (16:02 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Mon, 21 Feb 2011 16:02:26 +0000 (16:02 +0000)
... a leftover from a bad merge.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
src/mesa/drivers/dri/i965/brw_draw_upload.c

index 09d7a5ee14df54aceae92e7efd133e98db62b9c6..17af046b50376808dfec25e5811ee6d7c5654af7 100644 (file)
@@ -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));