Changed minimum allowed resolution to QVGA

This commit is contained in:
pk-2000 2021-01-13 11:04:30 +02:00 committed by GitHub
parent ed6151df5d
commit 038f7372e4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -128,8 +128,8 @@ void EventThread::process(RGSSThreadData &rtData)
defScreenH = rtData.config.defScreenH; defScreenH = rtData.config.defScreenH;
SDL_GetDesktopDisplayMode(0, &dm); SDL_GetDesktopDisplayMode(0, &dm);
SDL_SetWindowMaximumSize(win, dm.w, dm.h); SDL_SetWindowMaximumSize(win, dm.w, dm.h);
SDL_SetWindowMinimumSize(win, 544, 416); SDL_SetWindowMinimumSize(win, 320, 240);
SDL_SetWindowSize(win, 544, 416); SDL_SetWindowSize(win, 320, 240);
int defScreenW_new, defScreenH_new; int defScreenW_new, defScreenH_new;
int firstrun; int firstrun;
firstrun = 0; firstrun = 0;