Skip to content

Commit

Permalink
Fixed missing SDL_WINDOW_RESIZABLE flag in GLRenderer
Browse files Browse the repository at this point in the history
  • Loading branch information
Grumbel committed Aug 7, 2014
1 parent 1da433f commit 856ea6a
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/video/gl/gl_renderer.cpp
Expand Up @@ -577,8 +577,7 @@ GLRenderer::apply_video_mode()
}
else
{
int flags = SDL_WINDOW_OPENGL;

int flags = SDL_WINDOW_OPENGL | SDL_WINDOW_RESIZABLE;
Size size;
if (g_config->use_fullscreen)
{
Expand All @@ -596,7 +595,6 @@ GLRenderer::apply_video_mode()
}
else
{
flags |= SDL_WINDOW_RESIZABLE;
size = g_config->window_size;
}

Expand Down

0 comments on commit 856ea6a

Please sign in to comment.