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 6a111e54d7)
This commit is contained in:
Roland Scheidegger 2015-05-25 22:24:05 +02:00 committed by Emil Velikov
parent 8fc109160e
commit 34ff020aea

View file

@ -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;
}