1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-23 23:04:36 +01:00

Merge pull request #2716 from marijnvdwerf/min-window-size

Set minimal window size to 720×480
This commit is contained in:
Ted John
2016-01-13 18:56:33 +00:00

View File

@@ -795,6 +795,7 @@ static void platform_create_window()
}
SDL_SetWindowGrab(gWindow, gConfigGeneral.trap_cursor ? SDL_TRUE : SDL_FALSE);
SDL_SetWindowMinimumSize(gWindow, 720, 480);
// Set the update palette function pointer
RCT2_GLOBAL(0x009E2BE4, update_palette_func) = platform_update_palette;