Disable window resizing on non-macOS platforms

This commit is contained in:
Vinyl Darkscratch 2018-03-13 14:51:14 -07:00
parent 79e3449dd3
commit 3a4c063b10

View file

@ -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;