Handle WM_SYNCPAINT with DefWindowProc.
This commit is contained in:
parent
81963df6cf
commit
ea20614e39
|
@ -68,6 +68,7 @@ static LRESULT WINAPI DirectDrawSurface_WndProc(HWND hwnd, UINT msg, WPARAM wPar
|
|||
case WM_SIZE:
|
||||
case WM_MOVE:
|
||||
case WM_ERASEBKGND:
|
||||
case WM_SYNCPAINT:
|
||||
/* since we're pretending fullscreen,
|
||||
* let's not pass these on to the app */
|
||||
ret = DefWindowProcA(hwnd, msg, wParam, lParam);
|
||||
|
|
Loading…
Reference in New Issue