don't lock on WM_PAINT
This commit is contained in:
parent
2cf14bf2ef
commit
4d8181099c
1 changed files with 0 additions and 2 deletions
|
@ -854,9 +854,7 @@ LRESULT CALLBACK fake_WndProc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam
|
|||
RedrawWindow(hWnd, NULL, NULL, RDW_INVALIDATE | RDW_ALLCHILDREN);
|
||||
}
|
||||
|
||||
EnterCriticalSection(&g_ddraw->cs);
|
||||
ReleaseSemaphore(g_ddraw->render.sem, 1, NULL);
|
||||
LeaveCriticalSection(&g_ddraw->cs);
|
||||
break;
|
||||
}
|
||||
case WM_ERASEBKGND:
|
||||
|
|
Loading…
Reference in a new issue