Module: wine Branch: master Commit: 3bbe658ef1b2a992ad44cd9503ad65889a1c6896 URL: http://source.winehq.org/git/wine.git/?a=commit;h=3bbe658ef1b2a992ad44cd9503...
Author: Henri Verbeet hverbeet@codeweavers.com Date: Thu Nov 11 12:39:20 2010 +0100
wined3d: Remove some useless code.
---
dlls/wined3d/surface.c | 6 ------ 1 files changed, 0 insertions(+), 6 deletions(-)
diff --git a/dlls/wined3d/surface.c b/dlls/wined3d/surface.c index 394ae6d..dbac947 100644 --- a/dlls/wined3d/surface.c +++ b/dlls/wined3d/surface.c @@ -1663,12 +1663,6 @@ static HRESULT WINAPI IWineD3DSurfaceImpl_Map(IWineD3DSurface *iface, goto lock_end; }
- if (This->Flags & SFLAG_INSYSMEM) { - TRACE("Local copy is up to date, not downloading data\n"); - surface_prepare_system_memory(This); /* Makes sure memory is allocated */ - goto lock_end; - } - /* surface_load_location() does not check if the rectangle specifies * the full surface. Most callers don't need that, so do it here. */ if (pRect && !pRect->top && !pRect->left