Revert "update ShowWindow hook"

This reverts commit 19d1d4f942.
This commit is contained in:
FunkyFr3sh 2023-07-11 02:33:06 +02:00
parent 225f764388
commit c1a9d72b68
3 changed files with 0 additions and 25 deletions

View file

@ -766,8 +766,6 @@ HRESULT dd_SetDisplayMode(DWORD dwWidth, DWORD dwHeight, DWORD dwBPP, DWORD dwFl
LONG style = real_GetWindowLongA(g_ddraw->hwnd, GWL_STYLE);
LONG exstyle = real_GetWindowLongA(g_ddraw->hwnd, GWL_EXSTYLE);
g_ddraw->invisible = !(style & WS_VISIBLE);
AdjustWindowRectEx(&dst, style, GetMenu(g_ddraw->hwnd) != NULL, exstyle);
real_SetWindowPos(
@ -804,8 +802,6 @@ HRESULT dd_SetDisplayMode(DWORD dwWidth, DWORD dwHeight, DWORD dwBPP, DWORD dwFl
LONG style = real_GetWindowLongA(g_ddraw->hwnd, GWL_STYLE);
g_ddraw->invisible = !(style & WS_VISIBLE);
DWORD swp_flags = SWP_SHOWWINDOW;
if ((style & WS_CAPTION))