diff options
author | Martin Peres <[email protected]> | 2015-06-05 15:19:01 +0300 |
---|---|---|
committer | Martin Peres <[email protected]> | 2015-06-08 12:38:08 +0300 |
commit | 8614b9e489e65bb672ab16053d30ce8708856214 (patch) | |
tree | 96eff547f5957f9cc8a0c276172f978a9d6846d6 /src/gallium/drivers/softpipe | |
parent | 184e4de3a126fa21945fe59f68b8a29977919fc4 (diff) |
softpipe/query: force parenthesis around a logical not
This makes GCC5 happy.
Reviewed-by: Brian Paul <[email protected]>
Signed-off-by: Martin Peres <[email protected]>
Diffstat (limited to 'src/gallium/drivers/softpipe')
-rw-r--r-- | src/gallium/drivers/softpipe/sp_query.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/softpipe/sp_query.c b/src/gallium/drivers/softpipe/sp_query.c index e77387082bc..76105b4c0ec 100644 --- a/src/gallium/drivers/softpipe/sp_query.c +++ b/src/gallium/drivers/softpipe/sp_query.c @@ -277,7 +277,7 @@ softpipe_check_render_cond(struct softpipe_context *sp) b = pipe->get_query_result(pipe, sp->render_cond_query, wait, (void*)&result); if (b) - return (!result == sp->render_cond_cond); + return (!result) == sp->render_cond_cond; else return TRUE; } |