mirror of
https://github.com/reactos/wine.git
synced 2024-11-26 13:10:28 +00:00
wined3d: Remove some useless code.
This commit is contained in:
parent
78abb8ae07
commit
3bbe658ef1
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user