Re-add mistakenly deleted line

This commit is contained in:
kalaposfos13 2025-01-02 12:15:57 +01:00
parent c336c75ae5
commit a0a4d2e35b

View File

@ -92,6 +92,8 @@ 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);
bool error = false; bool error = false;
const SDL_DisplayID displayIndex = SDL_GetDisplayForWindow(window); const SDL_DisplayID displayIndex = SDL_GetDisplayForWindow(window);
if (displayIndex < 0) { if (displayIndex < 0) {