diff options
author | Marek Olšák <maraeo@gmail.com> | 2010-05-15 19:31:35 +0200 |
---|---|---|
committer | Marek Olšák <maraeo@gmail.com> | 2010-05-15 19:39:57 +0200 |
commit | 251fae69e5d3a44c1a2a03f7172182e803a04792 (patch) | |
tree | ca1a1cccaa230889bcbc3e1eb8c40ff65621dedd /src/gallium/drivers/r300/r300_flush.c | |
parent | 00704370e42eb9c828dc1699a033b8da9a2521b0 (diff) | |
download | external_mesa3d-251fae69e5d3a44c1a2a03f7172182e803a04792.zip external_mesa3d-251fae69e5d3a44c1a2a03f7172182e803a04792.tar.gz external_mesa3d-251fae69e5d3a44c1a2a03f7172182e803a04792.tar.bz2 |
r300g: fix BO space accounting for occlusion queries
Diffstat (limited to 'src/gallium/drivers/r300/r300_flush.c')
-rw-r--r-- | src/gallium/drivers/r300/r300_flush.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/drivers/r300/r300_flush.c b/src/gallium/drivers/r300/r300_flush.c index e78c6a3..ad7cae7 100644 --- a/src/gallium/drivers/r300/r300_flush.c +++ b/src/gallium/drivers/r300/r300_flush.c @@ -48,9 +48,9 @@ static void r300_flush(struct pipe_context* pipe, draw_flush(r300->draw); } - r300_emit_query_end(r300); - if (r300->dirty_hw) { + r300_emit_query_end(r300); + FLUSH_CS; r300->dirty_hw = 0; |