6fee37c2
by Panayiotis Talianos at 2025-05-19T16:35:28+02:00
wined3d: Swap wined3d_resource.heap_pointer on swapchain present.
wined3d_resource_free_sysmem() uses wined3d_resource.heap_pointer to
deallocate wined3d_resource.heap_memory. Preserve pairing of
heap_pointer/heap_memory to prevent deallocation of incorrect
heap_memory.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=57387
Signed-off-by: Panayiotis Talianos <panintended.foss@gmail.com>