http://git.etersoft.ru/projects
/
wine
/
eterwine.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
78abb8a
)
wined3d: Remove some useless code.
author
Henri Verbeet
<hverbeet@codeweavers.com>
Thu, 11 Nov 2010 11:39:20 +0000
(12:39 +0100)
committer
Alexandre Julliard
<julliard@winehq.org>
Thu, 11 Nov 2010 12:11:37 +0000
(13:11 +0100)
dlls/wined3d/surface.c
patch
|
blob
|
blame
|
history
diff --git
a/dlls/wined3d/surface.c
b/dlls/wined3d/surface.c
index 394ae6dad9f486c2eba5c20707964b7040061503..dbac94705427dcd5b1b75d4e09bf212a62a845a7 100644
(file)
--- 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