wined3d: Simply use surface_modify_location() in IWineD3DSurfaceImpl_Map() with WINED...
commit78abb8ae07190714546ecc770680e54fcee20d66
authorHenri Verbeet <hverbeet@codeweavers.com>
Thu, 11 Nov 2010 11:39:19 +0000 (11 12:39 +0100)
committerAlexandre Julliard <julliard@winehq.org>
Thu, 11 Nov 2010 12:11:34 +0000 (11 13:11 +0100)
treecba4af74ac48d7a545796f5ee4799219abce39b1
parentd3fd7b247b35d7c8c453afa2fc07e121ea75214b
wined3d: Simply use surface_modify_location() in IWineD3DSurfaceImpl_Map() with WINED3DLOCK_DISCARD.

The call to surface_add_dirty_rect() would have taken care of evicting the
other locations anyway, but we really shouldn't be touching the location flags
directly.
dlls/wined3d/surface.c