From d3e7af659bae3ea4cf1037fca81e071acbab31ec Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 29 Jan 2012 20:00:35 +0300 Subject: Smal refactoring in resize code. --- src/game.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/game.cpp') diff --git a/src/game.cpp b/src/game.cpp index 70468ebfd..b6e956c98 100644 --- a/src/game.cpp +++ b/src/game.cpp @@ -1638,7 +1638,7 @@ void Game::handleInput() if (event.type == SDL_VIDEORESIZE) { // Let the client deal with this one (it'll pass down from there) - Client::instance()->resizeVideo(event.resize.w, event.resize.h); + Client::resize(event.resize.w, event.resize.h); } // Keyboard events (for discontinuous keys) else if (event.type == SDL_KEYDOWN) -- cgit v1.2.3-60-g2f50