mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-10 23:01:59 +00:00
- fixed: correct the functionality of the 'min' function in the scaling code
This commit is contained in:
parent
8cb281bf42
commit
fccb0b76c6
1 changed files with 1 additions and 1 deletions
|
@ -103,7 +103,7 @@ bool ViewportLinearScale()
|
||||||
|
|
||||||
inline int min(int a, int b)
|
inline int min(int a, int b)
|
||||||
{
|
{
|
||||||
return (a < b) ? a : b;
|
return (a > b) ? a : b;
|
||||||
}
|
}
|
||||||
|
|
||||||
int ViewportScaledWidth(int width, int height)
|
int ViewportScaledWidth(int width, int height)
|
||||||
|
|
Loading…
Reference in a new issue