WindowBase::Resized delegate

This commit is contained in:
Wiktor Kocielski
2023-09-06 05:23:06 +03:00
parent 36dca16991
commit 5ceafaad77
2 changed files with 6 additions and 0 deletions

View File

@@ -405,6 +405,7 @@ void WindowBase::OnResize(int32 width, int32 height)
_swapChain->Resize(width, height);
if (RenderTask)
RenderTask->Resize(width, height);
Resized({ static_cast<float>(width), static_cast<float>(height) });
INVOKE_EVENT_PARAMS_2(OnResize, &width, &height);
}