rename clamp macro to Clamp to fix compilation with g++11 (and clamp2 for consistency sake)

This commit is contained in:
withmorten 2021-06-28 13:57:05 +02:00
parent f8297df9c5
commit d17d437de3
41 changed files with 189 additions and 189 deletions

View file

@ -2070,7 +2070,7 @@ float CHud::DrawFadeState(DRAW_FADE_STATE fadingElement, int forceFadingIn)
break;
}
return clamp(alpha, 0.0f, 255.0f);
return Clamp(alpha, 0.0f, 255.0f);
}
void