diff options
author | Marek Olšák <[email protected]> | 2010-09-13 12:58:19 +0200 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2010-09-13 13:26:35 +0200 |
commit | 0392e48867c27f2aa445c5c9b35f4a52ecef2f2d (patch) | |
tree | 22e037ba8ae68b7b0e869a04db0b40a4009cbe66 /src/gallium/drivers/r300/r300_flush.c | |
parent | 501d43028e8e551dd36ede00fb85095183c32037 (diff) |
r300g: fix SWTCL
https://bugs.freedesktop.org/show_bug.cgi?id=29901
Diffstat (limited to 'src/gallium/drivers/r300/r300_flush.c')
-rw-r--r-- | src/gallium/drivers/r300/r300_flush.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/r300/r300_flush.c b/src/gallium/drivers/r300/r300_flush.c index 2b5d2e42ba5..1afd27f0938 100644 --- a/src/gallium/drivers/r300/r300_flush.c +++ b/src/gallium/drivers/r300/r300_flush.c @@ -43,7 +43,7 @@ static void r300_flush(struct pipe_context* pipe, u_upload_flush(r300->upload_vb); u_upload_flush(r300->upload_ib); - if (r300->draw) + if (r300->draw && !r300->draw_vbo_locked) r300_draw_flush_vbuf(r300); if (r300->dirty_hw) { |