projects
/
profile
/
ivi
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
72c1658
)
r600g: don't set the query result to 0 after a call to get_query_result
author
Marek Olšák
<maraeo@gmail.com>
Thu, 10 Nov 2011 22:55:49 +0000
(23:55 +0100)
committer
Marek Olšák
<maraeo@gmail.com>
Thu, 10 Nov 2011 23:08:01 +0000
(
00:08
+0100)
get_query_result doesn't reset the result. Only begin_query does.
src/gallium/drivers/r600/r600_hw_context.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/r600/r600_hw_context.c
b/src/gallium/drivers/r600/r600_hw_context.c
index
c510167
..
52e0be7
100644
(file)
--- 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;
}