From: Ingo Ruhnke Date: Thu, 7 Aug 2014 00:19:49 +0000 (+0200) Subject: Fixed missing SDL_WINDOW_RESIZABLE flag in GLRenderer X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=856ea6ace59f361472127384c3a6e82149e13b99;p=supertux.git Fixed missing SDL_WINDOW_RESIZABLE flag in GLRenderer --- diff --git a/src/video/gl/gl_renderer.cpp b/src/video/gl/gl_renderer.cpp index 25603c7d0..849006bd8 100644 --- a/src/video/gl/gl_renderer.cpp +++ b/src/video/gl/gl_renderer.cpp @@ -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) { @@ -596,7 +595,6 @@ GLRenderer::apply_video_mode() } else { - flags |= SDL_WINDOW_RESIZABLE; size = g_config->window_size; }