diff --git a/source/Platform/Win32/Win32Display.cpp b/source/Platform/Win32/Win32Display.cpp index 89bedd0..90271a0 100644 --- a/source/Platform/Win32/Win32Display.cpp +++ b/source/Platform/Win32/Win32Display.cpp @@ -303,7 +303,8 @@ void Win32Display::processMessage(UINT message, WPARAM wParam, LPARAM lParam) case WM_SIZE : if (!m_inResizeModalLoop && (wParam == SIZE_MAXIMIZED || wParam == SIZE_RESTORED)) { - processResizeMessage(getSize()); + Vector2u size(LOWORD(lParam), HIWORD(lParam)); + processResizeMessage(size); } break; case WM_GETMINMAXINFO :