Fixed listener call issue spotted by @scrawl

pull/51/head
Nikolay Kasyanov 12 years ago
parent b8cd3f3915
commit e7500b22ba

@ -125,7 +125,7 @@ namespace SFO
mOgreWindow->windowMovedOrResized(); mOgreWindow->windowMovedOrResized();
#endif #endif
if (mWindowListener) if (mWindowListener)
mWindowListener->windowResized(evt.window.data1, evt.window.data2); mWindowListener->windowResized(w, h);
break; break;
case SDL_WINDOWEVENT_RESIZED: case SDL_WINDOWEVENT_RESIZED:

Loading…
Cancel
Save