Fixed listener call issue spotted by @scrawl

This commit is contained in:
Nikolay Kasyanov 2013-08-01 07:16:00 -07:00
parent b8cd3f3915
commit e7500b22ba

View file

@ -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: