summaryrefslogtreecommitdiff
path: root/drivers/etc1
diff options
context:
space:
mode:
authorElectricSolstice <repairagent@yahoo.com>2015-02-16 18:58:41 -0800
committerElectricSolstice <repairagent@yahoo.com>2015-02-16 18:58:41 -0800
commit0e1f34b49da3066bed94b316f22e6dd805509bf3 (patch)
treee966770a1bca9a3be47f756d6a498b8d61dd1b9c /drivers/etc1
parent2bea642583efeb68886e71950384f297f2d7ee12 (diff)
Changed code to remove gcc -Wparentheses warnings.
Diffstat (limited to 'drivers/etc1')
-rw-r--r--drivers/etc1/rg_etc1.cpp2
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)
{