diff options
author | Marek Olšák <[email protected]> | 2010-05-15 19:31:35 +0200 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2010-05-15 19:39:57 +0200 |
commit | 251fae69e5d3a44c1a2a03f7172182e803a04792 (patch) | |
tree | ca1a1cccaa230889bcbc3e1eb8c40ff65621dedd /src/gallium/drivers/r300/r300_query.c | |
parent | 00704370e42eb9c828dc1699a033b8da9a2521b0 (diff) |
r300g: fix BO space accounting for occlusion queries
Diffstat (limited to 'src/gallium/drivers/r300/r300_query.c')
-rw-r--r-- | src/gallium/drivers/r300/r300_query.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/gallium/drivers/r300/r300_query.c b/src/gallium/drivers/r300/r300_query.c index 9bd28537e00..0067b0345dc 100644 --- a/src/gallium/drivers/r300/r300_query.c +++ b/src/gallium/drivers/r300/r300_query.c @@ -103,7 +103,6 @@ static void r300_end_query(struct pipe_context* pipe, struct pipe_query* query) { struct r300_context* r300 = r300_context(pipe); - struct r300_query* q = (struct r300_query*)query; if ((struct r300_query*)query != r300->query_current) { fprintf(stderr, "r300: end_query: Got invalid query.\n"); @@ -112,7 +111,6 @@ static void r300_end_query(struct pipe_context* pipe, } r300_emit_query_end(r300); - q->begin_emitted = false; r300->query_current = NULL; } |