fix ValidateRect hook
This commit is contained in:
parent
889cfd92fa
commit
5919c0e150
1 changed files with 1 additions and 1 deletions
|
@ -839,7 +839,7 @@ BOOL WINAPI fake_ValidateRect(HWND hWnd, const RECT* lpRect)
|
||||||
g_ddraw.render.viewport.x,
|
g_ddraw.render.viewport.x,
|
||||||
g_ddraw.render.viewport.y);
|
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)
|
BOOL WINAPI fake_InvalidateRect(HWND hWnd, const RECT* lpRect, BOOL bErase)
|
||||||
|
|
Loading…
Reference in a new issue