mirror of
https://github.com/halpz/re3.git
synced 2025-12-21 00:02:59 +00:00
rename clamp macro to Clamp to fix compilation with g++11 (and clamp2 for consistency sake)
This commit is contained in:
@@ -1659,7 +1659,7 @@ cSampleManager::UpdateReverb(void)
|
||||
#undef CALCULATE_RATIO
|
||||
#undef MIN_DIST
|
||||
|
||||
fRatio = clamp(fRatio, 0.0f, 0.6f);
|
||||
fRatio = Clamp(fRatio, 0.0f, 0.6f);
|
||||
|
||||
if ( fRatio == _fPrevEaxRatioDestination )
|
||||
return FALSE;
|
||||
|
||||
Reference in New Issue
Block a user