=?UTF-8?Q?J=C3=B3zef=20Kucia=20?=: wined3d: Use wined3d_cs_finish() in swapchain_cleanup().

Alexandre Julliard julliard at winehq.org
Fri Nov 30 14:34:42 CST 2018


Module: wine
Branch: master
Commit: f44e09b1826ecac2426666388514e453100714b6
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=f44e09b1826ecac2426666388514e453100714b6

Author: Józef Kucia <jkucia at codeweavers.com>
Date:   Fri Nov 30 14:43:08 2018 +0100

wined3d: Use wined3d_cs_finish() in swapchain_cleanup().

Signed-off-by: Józef Kucia <jkucia at codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/wined3d/swapchain.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dlls/wined3d/swapchain.c b/dlls/wined3d/swapchain.c
index 6ed4f89..344a186 100644
--- a/dlls/wined3d/swapchain.c
+++ b/dlls/wined3d/swapchain.c
@@ -66,7 +66,7 @@ static void swapchain_cleanup(struct wined3d_swapchain *swapchain)
     }
 
     wined3d_cs_destroy_object(swapchain->device->cs, wined3d_swapchain_destroy_object, swapchain);
-    swapchain->device->cs->ops->finish(swapchain->device->cs, WINED3D_CS_QUEUE_DEFAULT);
+    wined3d_cs_finish(swapchain->device->cs, WINED3D_CS_QUEUE_DEFAULT);
 
     /* Restore the screen resolution if we rendered in fullscreen.
      * This will restore the screen resolution to what it was before creating




More information about the wine-cvs mailing list