mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-07 02:48:06 +02:00
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:
parent
233c6fb694
commit
86d2144412
1 changed files with 2 additions and 0 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue