Skip to content
Snippets Groups Projects
Commit 34ff020a authored by Roland Scheidegger's avatar Roland Scheidegger Committed by Emil Velikov
Browse files

llvmpipe: (trivial) add parantheses in (!x == y) expression

Apparently some compilers think we probably wanted to do !(x == y) instead
and issue a warning, so just shut it up... No functional change, obviously.

Cc: <mesa-stable@lists.freedesktop.org>
(cherry picked from commit 6a111e54)
parent 8fc10916
No related branches found
No related tags found
No related merge requests found
......@@ -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;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment