Platform/Win32/Win32Display.cpp: for WM_SIZE event we can use lParam variable to get the size.
This commit is contained in:
parent
0a75f0c2ed
commit
b984f30968
1 changed files with 2 additions and 1 deletions
|
|
@ -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 :
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue