24 Mar
2023
24 Mar
'23
9:43 p.m.
On Tue Mar 21 15:28:51 2023 +0000, Giovanni Mascellani wrote:
My reading of the specs is that `vkMapMemory()` is not required to leave `heap->map_ptr` untouched if it fails. Since `d3d12_heap_destroy()` relies on that value being `NULL` to avoid unmapping twice, maybe the pointer should be explicitly reset to `NULL` in the failure branch. Makes sense, will do.
-- https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/131#note_27840