Henri Verbeet : wined3d: Finish the CS before removing the context in adapter_vk_uninit_3d().
Alexandre Julliard
julliard at winehq.org
Tue Dec 3 16:13:11 CST 2019
Module: wine
Branch: master
Commit: 82088bc6b339d3d5b20a18c2760bf315fa502519
URL: https://source.winehq.org/git/wine.git/?a=commit;h=82088bc6b339d3d5b20a18c2760bf315fa502519
Author: Henri Verbeet <hverbeet at codeweavers.com>
Date: Tue Dec 3 20:23:56 2019 +0330
wined3d: Finish the CS before removing the context in adapter_vk_uninit_3d().
Signed-off-by: Henri Verbeet <hverbeet at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
dlls/wined3d/adapter_vk.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/dlls/wined3d/adapter_vk.c b/dlls/wined3d/adapter_vk.c
index 21163a2094..4a50129282 100644
--- a/dlls/wined3d/adapter_vk.c
+++ b/dlls/wined3d/adapter_vk.c
@@ -466,6 +466,7 @@ static void adapter_vk_uninit_3d(struct wined3d_device *device)
device->blitter->ops->blitter_destroy(device->blitter, NULL);
+ wined3d_cs_finish(device->cs, WINED3D_CS_QUEUE_DEFAULT);
device_context_remove(device, &context_vk->c);
device->shader_backend->shader_free_private(device, NULL);
wined3d_context_vk_cleanup(context_vk);
More information about the wine-cvs
mailing list