Disable SDL1 OpenGL window resizing
Seems to be broken. I'll address it in the future.
This commit is contained in:
parent
84df1a427b
commit
5395196b52
1 changed files with 1 additions and 1 deletions
|
@ -18,7 +18,7 @@ bool WindowBackend_OpenGL_CreateWindow(const char *window_title, size_t *screen_
|
||||||
Backend_PrintError("Couldn't set OpenGL swap interval: %s", SDL_GetError());
|
Backend_PrintError("Couldn't set OpenGL swap interval: %s", SDL_GetError());
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
if (SDL_SetVideoMode(*screen_width, *screen_height, 0, SDL_RESIZABLE | SDL_OPENGL | (fullscreen ? SDL_FULLSCREEN : 0)) != NULL)
|
if (SDL_SetVideoMode(*screen_width, *screen_height, 0, SDL_OPENGL | (fullscreen ? SDL_FULLSCREEN : 0)) != NULL)
|
||||||
{
|
{
|
||||||
SDL_WM_SetCaption(window_title, NULL);
|
SDL_WM_SetCaption(window_title, NULL);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue