1
0
Fork 0

Platform/Win32/Win32Display.cpp: for WM_SIZE event we can use lParam variable to get the size.

This commit is contained in:
Henrik Hautakoski 2020-12-29 17:45:32 +01:00
parent 0a75f0c2ed
commit b984f30968

View file

@ -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 :