Henri Verbeet : wined3d: Pass the correct RECT to LoadLocation() in LockRect().

Alexandre Julliard julliard at winehq.org
Fri Oct 10 08:06:29 CDT 2008


Module: wine
Branch: master
Commit: a98b19cef5897325d294267038cf84bbd7192baa
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=a98b19cef5897325d294267038cf84bbd7192baa

Author: Henri Verbeet <hverbeet at 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:




More information about the wine-cvs mailing list