28 May
2024
28 May
'24
9:20 p.m.
Rémi Bernon (@rbernon) commented about dlls/winevulkan/vulkan.c:
return result; }
+static void set_vkAllocateMemory_handle(struct wine_instance *instance, struct wine_device_memory *memory) +{ + struct ntuser_thread_info *thread_info; + if (!instance->enable_wrapper_list) return; + thread_info = NtUserGetThreadInfo(); + thread_info->vulkan_data = (uintptr_t) memory; +} + +static uint64_t get_vkAllocateMemory_handle(uint64_t host_handle)
Same here, I would instead change it to `uint64_t get_transient_client_handle(void)`, I don't think it even needs the host_handle here. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/5658#note_71267