r300-gallium: Add a draw_flush() to r300_flush().

This fixes some missing primitives which had been drawn right before the next glClear().
This commit is contained in:
Mathias Gottschlag 2009-04-26 12:04:35 +02:00 committed by Corbin Simpson
parent 233c6fb694
commit 86d2144412

View file

@ -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);