mirror of
https://github.com/BinomialLLC/basis_universal.git
synced 2026-10-28 19:55:30 +00:00
Replaced std::min/std::max with basisu::min/basisu::max
Removed use of NOMINMAX
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user