projects
/
supertux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1da433f
)
Fixed missing SDL_WINDOW_RESIZABLE flag in GLRenderer
author
Ingo Ruhnke
<grumbel@gmail.com>
Thu, 7 Aug 2014 00:19:49 +0000
(
02:19
+0200)
committer
Ingo Ruhnke
<grumbel@gmail.com>
Thu, 7 Aug 2014 00:19:49 +0000
(
02:19
+0200)
src/video/gl/gl_renderer.cpp
patch
|
blob
|
history
diff --git
a/src/video/gl/gl_renderer.cpp
b/src/video/gl/gl_renderer.cpp
index
25603c7
..
849006b
100644
(file)
--- 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;
}