Inform user about allowed windowresolution bounds
This commit is contained in:
parent
4a2369d4a6
commit
851b65c5f9
1 changed files with 4 additions and 0 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue