summaryrefslogtreecommitdiff
path: root/src/game.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/game.cpp')
-rw-r--r--src/game.cpp11
1 files changed, 1 insertions, 10 deletions
diff --git a/src/game.cpp b/src/game.cpp
index f4dc97ed6..80408f836 100644
--- a/src/game.cpp
+++ b/src/game.cpp
@@ -972,16 +972,7 @@ void Game::handleInput()
#ifdef USE_SDL2
case SDL_WINDOWEVENT:
{
- switch (event.window.event)
- {
- // +++ need add other window events
- case SDL_WINDOWEVENT_RESIZED:
- Client::resize(event.window.data1,
- event.window.data2, false);
- break;
- default:
- break;
- }
+ client->handleSDL2WindowEvent(event);
break;
}
#else