mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-09 04:38:03 +02:00
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>
This commit is contained in:
parent
bb973723a5
commit
6a111e54d7
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue