wined3d: Properly recreate the sysmem resource location in IWineD3DSurfaceImpl_SetMem().
commit745126b05d4bd2bb6d989574109fd542ac388629
authorHenri Verbeet <hverbeet@codeweavers.com>
Mon, 15 Nov 2010 12:43:35 +0000 (15 13:43 +0100)
committerAlexandre Julliard <julliard@winehq.org>
Mon, 15 Nov 2010 14:04:41 +0000 (15 15:04 +0100)
tree69dc13b3999b86a3bae451511056199e5c437987
parent44b9712cd67b4ae8506d1817b7777460bf1a293e
wined3d: Properly recreate the sysmem resource location in IWineD3DSurfaceImpl_SetMem().

Otherwise we could end up with surfaces that have SFLAG_INSYSMEM set, but no
actual system memory allocated. This was exposed by
3bbe658ef1b2a992ad44cd9503ad65889a1c6896.
dlls/wined3d/surface.c