1
0
Fork 0

Inform user about allowed windowresolution bounds

This commit is contained in:
Patryk Obara 2020-04-14 05:03:39 +02:00 committed by Patryk Obara
parent 4a2369d4a6
commit 851b65c5f9

View file

@ -1961,6 +1961,10 @@ static void SetupWindowResolution(const char *val)
sdl.desktop.window.width = w;
sdl.desktop.window.height = h;
return;
} else {
LOG_MSG("MAIN: dimensions %dx%d are out of display "
"bounds (%dx%d)",
w, h, bounds.w, bounds.h);
}
}