disable workaround for cases where PeekMessage was not hooked
This commit is contained in:
parent
b1e7cfe5b4
commit
eb5957008f
1 changed files with 2 additions and 1 deletions
3
src/dd.c
3
src/dd.c
|
@ -1024,7 +1024,8 @@ HRESULT dd_SetDisplayMode(DWORD dwWidth, DWORD dwHeight, DWORD dwBPP, DWORD dwFl
|
|||
if (g_config.remove_menu && GetMenu(g_ddraw.hwnd))
|
||||
SetMenu(g_ddraw.hwnd, NULL);
|
||||
|
||||
if (g_ddraw.last_msg_pull_tick + 1000 < timeGetTime() &&
|
||||
if (g_ddraw.last_msg_pull_tick &&
|
||||
g_ddraw.last_msg_pull_tick + 1000 < timeGetTime() &&
|
||||
GetCurrentThreadId() == g_ddraw.gui_thread_id &&
|
||||
!IsWine())
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue