21 Feb
2024
21 Feb
'24
9:08 a.m.
Georg Lehmann (@DadSchoorse) commented about dlls/winevulkan/vulkan.c:
struct wine_device *device = wine_device_from_handle(handle); struct wine_device_memory *memory = wine_device_memory_from_handle(unmap_info->memory); VkMemoryUnmapInfoKHR info; + VkResult result;
- if (memory->mapping) + if (memory->mapping && device->phys_dev->external_memory_align) return VK_SUCCESS;
if (!device->funcs.p_vkUnmapMemory2KHR) { assert(!unmap_info->pNext);
```suggestion:-0+0 assert(!unmap_info->pNext && !memory->mapping); ``` -- https://gitlab.winehq.org/wine/wine/-/merge_requests/5128#note_62170