Use relocation table with reccmp (#327)

This commit is contained in:
MS
2023-12-13 17:30:34 -05:00
committed by GitHub
parent 403b3dddb4
commit 5f8e26fc5b
3 changed files with 51 additions and 2 deletions

View File

@@ -372,7 +372,7 @@ BOOL MxDirectDraw::DDSetMode(int width, int height, int bpp)
m_bIgnoreWMSIZE = TRUE;
dwStyle = GetWindowLong(m_hWndMain, GWL_STYLE);
dwStyle &= ~(WS_POPUP | WS_CAPTION | WS_THICKFRAME | WS_OVERLAPPED);
dwStyle &= ~WS_POPUP;
dwStyle |= WS_CAPTION | WS_THICKFRAME | WS_OVERLAPPED;
SetWindowLong(m_hWndMain, GWL_STYLE, dwStyle);