summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/r300
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/drivers/r300')
-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;
}