1
0
mirror of https://github.com/FunkyFr3sh/cnc-ddraw.git synced 2025-03-24 17:49:52 +01:00

fix menu issues resize/alt+tab with opengl

This commit is contained in:
FunkyFr3sh 2018-12-11 08:56:22 +01:00
parent fde4c29366
commit bf94d285e4

View File

@ -1117,6 +1117,13 @@ LRESULT CALLBACK WndProc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
*/ */
} }
} }
if (!ddraw->handlemouse)
{
redrawCount = 2;
RedrawWindow(hWnd, NULL, NULL, RDW_INVALIDATE | RDW_ALLCHILDREN);
}
return DefWindowProc(hWnd, uMsg, wParam, lParam); /* Carmageddon fix */ return DefWindowProc(hWnd, uMsg, wParam, lParam); /* Carmageddon fix */
} }
case WM_MOVE: case WM_MOVE: