Merge pull request #2282 from OTHGMars/CanvasResize

Fixes CanvasSizeChangeSignal and Canvas::onResize()  under SDL
This commit is contained in:
Areloch 2019-01-06 04:51:18 -06:00 committed by GitHub
commit d74a25540f

View file

@ -598,6 +598,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;
}