Henri Verbeet : wined3d: Pass the correct RECT to LoadLocation() in LockRect().
Module: wine Branch: master Commit: a98b19cef5897325d294267038cf84bbd7192baa URL: http://source.winehq.org/git/wine.git/?a=commit;h=a98b19cef5897325d294267038... Author: Henri Verbeet <hverbeet(a)codeweavers.com> Date: Thu Oct 9 15:32:44 2008 +0200 wined3d: Pass the correct RECT to LoadLocation() in LockRect(). --- dlls/wined3d/surface.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/dlls/wined3d/surface.c b/dlls/wined3d/surface.c index 4c7e157..c22a547 100644 --- a/dlls/wined3d/surface.c +++ b/dlls/wined3d/surface.c @@ -1102,7 +1102,7 @@ static HRESULT WINAPI IWineD3DSurfaceImpl_LockRect(IWineD3DSurface *iface, WINED case RTL_AUTO: case RTL_READDRAW: case RTL_READTEX: - IWineD3DSurface_LoadLocation(iface, SFLAG_INSYSMEM, pRect); + IWineD3DSurface_LoadLocation(iface, SFLAG_INSYSMEM, pass_rect); break; case RTL_DISABLE:
participants (1)
-
Alexandre Julliard