projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7a0bcba
)
r300g: fix glean occlusion query test
author
Dave Airlie
<airlied@redhat.com>
Mon, 22 Mar 2010 03:35:20 +0000
(13:35 +1000)
committer
Dave Airlie
<airlied@redhat.com>
Tue, 23 Mar 2010 09:12:33 +0000
(19:12 +1000)
src/gallium/drivers/r300/r300_query.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/r300/r300_query.c
b/src/gallium/drivers/r300/r300_query.c
index ca00b043c51d85dab138eb1998387d688154ce9e..9822e6b48dd9a57609086de37354380258dbd5cf 100644
(file)
--- a/
src/gallium/drivers/r300/r300_query.c
+++ b/
src/gallium/drivers/r300/r300_query.c
@@
-97,8
+97,10
@@
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;
r300_emit_query_end(r300);
+ q->begin_emitted = false;
r300->query_current = NULL;
}