Replaced std::min/std::max with basisu::min/basisu::max

Removed use of NOMINMAX
This commit is contained in:
JCash
2021-03-30 18:44:07 +02:00
parent b5334deb8a
commit 03cca3778e
14 changed files with 177 additions and 177 deletions
+1 -1
View File
@@ -399,7 +399,7 @@ namespace basisu
if (mode)
{
c[1].set(std::max(0, c[0].r - (c[3].r >> 2)), std::max(0, c[0].g - (c[3].g >> 2)), std::max(0, c[0].b - (c[3].b >> 2)), 255);
c[1].set(basisu::max(0, c[0].r - (c[3].r >> 2)), basisu::max(0, c[0].g - (c[3].g >> 2)), basisu::max(0, c[0].b - (c[3].b >> 2)), 255);
c[2] = c[0];
c[0].set(0, 0, 0, 255);
}