mirror of
https://forgejo.xatacraft.ru/Sunshine/mkxp-sunshine.git
synced 2026-08-20 22:09:55 +00:00
Disable window resizing on non-macOS platforms
This commit is contained in:
parent
79e3449dd3
commit
3a4c063b10
1 changed files with 5 additions and 1 deletions
|
|
@ -275,7 +275,11 @@ int main(int argc, char *argv[])
|
|||
}
|
||||
|
||||
SDL_Window *win;
|
||||
Uint32 winFlags = SDL_WINDOW_OPENGL | SDL_WINDOW_INPUT_FOCUS | SDL_WINDOW_RESIZABLE; //| SDL_WINDOW_ALLOW_HIGHDPI;
|
||||
Uint32 winFlags = SDL_WINDOW_OPENGL | SDL_WINDOW_INPUT_FOCUS; //| SDL_WINDOW_ALLOW_HIGHDPI;
|
||||
|
||||
#ifdef __APPLE__
|
||||
winFlags |= SDL_WINDOW_RESIZABLE;
|
||||
#endif
|
||||
|
||||
if (conf.fullscreen)
|
||||
winFlags |= SDL_WINDOW_FULLSCREEN_DESKTOP;
|
||||
|
|
|
|||
Loading…
Reference in a new issue