From e54b989fe98325338ef6601db21d5b1f7875eeb2 Mon Sep 17 00:00:00 2001 From: Chris Wilson Date: Mon, 21 Jun 2010 21:45:04 +0100 Subject: Emit the flush after a potential draw from the BlockHandler. As the batch submit may not trigger further drawing through flushing the vertices, pass the requirement to emit the flush down to the submission routine so that the flush can be appended after the final commands. Signed-off-by: Chris Wilson (cherry picked from c942585098ac84ae461821cbb8f52dedce7a0da1) Signed-off-by: Owain G. Ainsworth --- src/i830_accel.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/i830_accel.c') diff --git a/src/i830_accel.c b/src/i830_accel.c index 74808fd8..df4f58db 100644 --- a/src/i830_accel.c +++ b/src/i830_accel.c @@ -59,7 +59,7 @@ void i830_debug_flush(ScrnInfoPtr scrn) intel_batch_emit_flush(scrn); if (intel->debug_flush & DEBUG_FLUSH_BATCHES) - intel_batch_submit(scrn); + intel_batch_submit(scrn, FALSE); } /* The following function sets up the supported acceleration. Call it -- cgit v1.2.3