summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2011-11-10 22:58:34 +0100
committerMarek Olšák <[email protected]>2011-11-10 22:58:34 +0100
commit083482d493ce3d604d83bfed874bd662dfd165ca (patch)
tree6c66d79c91f5a2af92d20129c4c19b901ef56ec3 /src
parentc5ae81652d7d153accc42002fc80f95e399410f7 (diff)
r300g: fix query result of GPU_FINISHED
Diffstat (limited to 'src')
-rw-r--r--src/gallium/drivers/r300/r300_query.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/r300/r300_query.c b/src/gallium/drivers/r300/r300_query.c
index e986276d8d4..8f7de79538d 100644
--- a/src/gallium/drivers/r300/r300_query.c
+++ b/src/gallium/drivers/r300/r300_query.c
@@ -149,7 +149,7 @@ static boolean r300_get_query_result(struct pipe_context* pipe,
r300->rws->buffer_wait(q->buf, RADEON_USAGE_READWRITE);
*r = TRUE;
} else {
- *r = r300->rws->buffer_is_busy(q->buf, RADEON_USAGE_READWRITE);
+ *r = !r300->rws->buffer_is_busy(q->buf, RADEON_USAGE_READWRITE);
}
return *r;
}