From: Marek Olšák Date: Thu, 10 Nov 2011 21:58:34 +0000 (+0100) Subject: r300g: fix query result of GPU_FINISHED X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=083482d493ce3d604d83bfed874bd662dfd165ca;p=mesa.git r300g: fix query result of GPU_FINISHED --- 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; }