mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/4jcraft.git
synced 2026-06-02 11:55:13 +00:00
fix: unglob std::{min, max}, manual stuff
This commit is contained in:
@@ -52,7 +52,7 @@ void TextureHolder::setForcedScale(int targetSize)
|
||||
return;
|
||||
}
|
||||
|
||||
scale = (float) targetSize / min(width, height);
|
||||
scale = (float) targetSize / std::min(width, height);
|
||||
}
|
||||
|
||||
//@Override
|
||||
|
||||
Reference in New Issue
Block a user