diff options
Diffstat (limited to 'src/gallium/drivers')
-rw-r--r-- | src/gallium/drivers/llvmpipe/lp_query.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/llvmpipe/lp_query.c b/src/gallium/drivers/llvmpipe/lp_query.c index 4f8bab62e7b..fc593670671 100644 --- a/src/gallium/drivers/llvmpipe/lp_query.c +++ b/src/gallium/drivers/llvmpipe/lp_query.c @@ -315,7 +315,7 @@ llvmpipe_check_render_cond(struct llvmpipe_context *lp) b = pipe->get_query_result(pipe, lp->render_cond_query, wait, (void*)&result); if (b) - return (!result == lp->render_cond_cond); + return ((!result) == lp->render_cond_cond); else return TRUE; } |