From e7500b22ba0db82d8199e0213fb5903b4fd26192 Mon Sep 17 00:00:00 2001 From: Nikolay Kasyanov Date: Thu, 1 Aug 2013 07:16:00 -0700 Subject: [PATCH] Fixed listener call issue spotted by @scrawl --- extern/sdl4ogre/sdlinputwrapper.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extern/sdl4ogre/sdlinputwrapper.cpp b/extern/sdl4ogre/sdlinputwrapper.cpp index a3e99c187..5602946ff 100644 --- a/extern/sdl4ogre/sdlinputwrapper.cpp +++ b/extern/sdl4ogre/sdlinputwrapper.cpp @@ -125,7 +125,7 @@ namespace SFO mOgreWindow->windowMovedOrResized(); #endif if (mWindowListener) - mWindowListener->windowResized(evt.window.data1, evt.window.data2); + mWindowListener->windowResized(w, h); break; case SDL_WINDOWEVENT_RESIZED: