mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-07-23 10:35:03 +00:00
sdl: Limit minimum window size (#1966)
This commit is contained in:
parent
ee974414d2
commit
ab7e794f23
@ -92,6 +92,7 @@ WindowSDL::WindowSDL(s32 width_, s32 height_, Input::GameController* controller_
|
|||||||
UNREACHABLE_MSG("Failed to create window handle: {}", SDL_GetError());
|
UNREACHABLE_MSG("Failed to create window handle: {}", SDL_GetError());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
SDL_SetWindowMinimumSize(window, 640, 360);
|
||||||
SDL_SetWindowFullscreen(window, Config::isFullscreenMode());
|
SDL_SetWindowFullscreen(window, Config::isFullscreenMode());
|
||||||
|
|
||||||
SDL_InitSubSystem(SDL_INIT_GAMEPAD);
|
SDL_InitSubSystem(SDL_INIT_GAMEPAD);
|
||||||
|
Loading…
Reference in New Issue
Block a user