From 083482d493ce3d604d83bfed874bd662dfd165ca Mon Sep 17 00:00:00 2001 From: =?utf8?q?Marek=20Ol=C5=A1=C3=A1k?= Date: Thu, 10 Nov 2011 22:58:34 +0100 Subject: [PATCH] r300g: fix query result of GPU_FINISHED --- src/gallium/drivers/r300/r300_query.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- 2.30.2