From: Mathias Gottschlag Date: Sun, 26 Apr 2009 10:04:35 +0000 (+0200) Subject: r300-gallium: Add a draw_flush() to r300_flush(). X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=86d2144412915b0052a468806c4fba81d72a682d;p=mesa.git r300-gallium: Add a draw_flush() to r300_flush(). This fixes some missing primitives which had been drawn right before the next glClear(). --- diff --git a/src/gallium/drivers/r300/r300_flush.c b/src/gallium/drivers/r300/r300_flush.c index 20ca6905ad2..89a5f2b20cf 100644 --- a/src/gallium/drivers/r300/r300_flush.c +++ b/src/gallium/drivers/r300/r300_flush.c @@ -29,6 +29,8 @@ static void r300_flush(struct pipe_context* pipe, struct r300_context* r300 = r300_context(pipe); CS_LOCALS(r300); + draw_flush(r300->draw); + if (r300->dirty_hw) { FLUSH_CS; r300_emit_invariant_state(r300);