mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-01-19 20:24:49 +00:00
Fix CanvasSizeChangeSignal and Canvas::onResize() callback for SDL Window.
This commit is contained in:
parent
0b9ac45747
commit
580ab01766
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue