- Fix fullscreen SDL scaling.

This commit is contained in:
Agetian
2020-07-21 09:16:05 +03:00
committed by David Hrdlička
parent 43b6056d84
commit 6d3bf156ff

View File

@@ -157,8 +157,8 @@ sdl_stretch(int *w, int *h, int *x, int *y)
}
dx = (hw - dw) / 2.0;
dy = (hh - dh) / 2.0;
*w = (int) hw;
*h = (int) hh;
*w = (int) dw;
*h = (int) dh;
*x = (int) dx;
*y = (int) dy;
break;