diff options
author | Marek Olšák <[email protected]> | 2011-11-10 23:55:49 +0100 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2011-11-11 00:08:01 +0100 |
commit | b8428e63353373e769a9ba787875b49fdd25a1ee (patch) | |
tree | f0343556bb4d72b698dad2088ab94dafe61290ea /src | |
parent | 72c1658554b2d1e90e687340c5db4fec939b3901 (diff) |
r600g: don't set the query result to 0 after a call to get_query_result
get_query_result doesn't reset the result. Only begin_query does.
Diffstat (limited to 'src')
-rw-r--r-- | src/gallium/drivers/r600/r600_hw_context.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/gallium/drivers/r600/r600_hw_context.c b/src/gallium/drivers/r600/r600_hw_context.c index c51016738bd..52e0be7d5e2 100644 --- a/src/gallium/drivers/r600/r600_hw_context.c +++ b/src/gallium/drivers/r600/r600_hw_context.c @@ -1849,8 +1849,6 @@ boolean r600_context_query_result(struct r600_context *ctx, default: assert(0); } - - memset(&query->result, 0, sizeof(query->result)); return TRUE; } |