Module: Mesa Branch: master Commit: 083482d493ce3d604d83bfed874bd662dfd165ca URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=083482d493ce3d604d83bfed874bd662dfd165ca
Author: Marek Olšák <[email protected]> Date: Thu Nov 10 22:58:34 2011 +0100 r300g: fix query result of GPU_FINISHED --- src/gallium/drivers/r300/r300_query.c | 2 +- 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 e986276..8f7de79 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; } _______________________________________________ mesa-commit mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/mesa-commit
