- fixed: correct the functionality of the 'min' function in the scaling code

This commit is contained in:
Rachael Alexanderson 2018-07-22 12:34:33 -04:00
parent 8cb281bf42
commit fccb0b76c6

View file

@ -103,7 +103,7 @@ bool ViewportLinearScale()
inline int min(int a, int b)
{
return (a < b) ? a : b;
return (a > b) ? a : b;
}
int ViewportScaledWidth(int width, int height)