diff --git a/extern/sdl4ogre/sdlinputwrapper.cpp b/extern/sdl4ogre/sdlinputwrapper.cpp index a3e99c187f..5602946ff1 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: