mirror of
https://github.com/FunkyFr3sh/cnc-ddraw.git
synced 2025-03-15 06:04:49 +01:00
fix ValidateRect hook
This commit is contained in:
parent
889cfd92fa
commit
5919c0e150
@ -839,7 +839,7 @@ BOOL WINAPI fake_ValidateRect(HWND hWnd, const RECT* lpRect)
|
||||
g_ddraw.render.viewport.x,
|
||||
g_ddraw.render.viewport.y);
|
||||
|
||||
return real_ValidateRect(hWnd, lpRect);
|
||||
return real_ValidateRect(hWnd, &dst_rc);
|
||||
}
|
||||
|
||||
BOOL WINAPI fake_InvalidateRect(HWND hWnd, const RECT* lpRect, BOOL bErase)
|
||||
|
Loading…
x
Reference in New Issue
Block a user