projects
/
supertux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fixed window resize in OpenGL and added window resize to SDL renderer
[supertux.git]
/
src
/
supertux
/
screen_manager.cpp
diff --git
a/src/supertux/screen_manager.cpp
b/src/supertux/screen_manager.cpp
index
add990f
..
e1e7f12
100644
(file)
--- a/
src/supertux/screen_manager.cpp
+++ b/
src/supertux/screen_manager.cpp
@@
-206,7
+206,7
@@
ScreenManager::process_events()
break;
case SDL_WINDOWEVENT:
- switch(event.window.
type
)
+ switch(event.window.
event
)
{
case SDL_WINDOWEVENT_RESIZED:
Renderer::instance()->resize(event.window.data1,