diff options
author | ElectricSolstice <repairagent@yahoo.com> | 2015-02-16 18:58:41 -0800 |
---|---|---|
committer | ElectricSolstice <repairagent@yahoo.com> | 2015-02-16 18:58:41 -0800 |
commit | 0e1f34b49da3066bed94b316f22e6dd805509bf3 (patch) | |
tree | e966770a1bca9a3be47f756d6a498b8d61dd1b9c /drivers/etc1 | |
parent | 2bea642583efeb68886e71950384f297f2d7ee12 (diff) |
Changed code to remove gcc -Wparentheses warnings.
Diffstat (limited to 'drivers/etc1')
-rw-r--r-- | drivers/etc1/rg_etc1.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/etc1/rg_etc1.cpp b/drivers/etc1/rg_etc1.cpp index cad9af8830..63877e6d12 100644 --- a/drivers/etc1/rg_etc1.cpp +++ b/drivers/etc1/rg_etc1.cpp @@ -2367,7 +2367,7 @@ found_perfect_match: int dr = best_results[1].m_block_color_unscaled.r - best_results[0].m_block_color_unscaled.r;
int dg = best_results[1].m_block_color_unscaled.g - best_results[0].m_block_color_unscaled.g;
int db = best_results[1].m_block_color_unscaled.b - best_results[0].m_block_color_unscaled.b;
- RG_ETC1_ASSERT(best_use_color4 || (rg_etc1::minimum(dr, dg, db) >= cETC1ColorDeltaMin) && (rg_etc1::maximum(dr, dg, db) <= cETC1ColorDeltaMax));
+ RG_ETC1_ASSERT(best_use_color4 || ((rg_etc1::minimum(dr, dg, db) >= cETC1ColorDeltaMin) && (rg_etc1::maximum(dr, dg, db) <= cETC1ColorDeltaMax)));
if (best_use_color4)
{
|