Fix CanvasSizeChangeSignal and Canvas::onResize() callback for SDL Window.

This commit is contained in:
OTHGMars 2018-11-17 05:51:47 -05:00
parent e2f0fbcd2b
commit 4c96c8cea7

View file

@ -594,6 +594,7 @@ void PlatformWindowSDL::_processSDLEvent(SDL_Event &evt)
SDL_GetWindowSize( mWindowHandle, &width, &height );
mVideoMode.resolution.set( width, height );
getGFXTarget()->resetMode();
resizeEvent.trigger(getWindowId(), width, height);
break;
}