diff --git a/src/WIN/win.c b/src/WIN/win.c index 79080427d..6203d3dfa 100644 --- a/src/WIN/win.c +++ b/src/WIN/win.c @@ -2156,6 +2156,11 @@ LRESULT CALLBACK WindowProcedure (HWND hwnd, UINT message, WPARAM wParam, LPARAM winsizex = (lParam & 0xFFFF); winsizey = (lParam >> 16) - (17 + 6); + if (winsizey < 0) + { + winsizey = 0; + } + MoveWindow(hwndRender, 0, 0, winsizex, winsizey, TRUE); if (vid_apis[video_fullscreen][vid_api].resize)