Zebediah Figura : ddraw: Get rid of redundant call to wined3d_stateblock_capture().

Alexandre Julliard julliard at winehq.org
Thu Nov 29 15:33:01 CST 2018


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

Author: Zebediah Figura <z.figura12 at gmail.com>
Date:   Wed Nov 28 19:43:52 2018 -0600

ddraw: Get rid of redundant call to wined3d_stateblock_capture().

Signed-off-by: Zebediah Figura <z.figura12 at gmail.com>
Signed-off-by: Henri Verbeet <hverbeet at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/ddraw/ddraw.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/dlls/ddraw/ddraw.c b/dlls/ddraw/ddraw.c
index 5043994..6b2abe3 100644
--- a/dlls/ddraw/ddraw.c
+++ b/dlls/ddraw/ddraw.c
@@ -933,7 +933,6 @@ static HRESULT ddraw_set_cooperative_level(struct ddraw *ddraw, HWND window,
                 goto done;
             }
 
-            wined3d_stateblock_capture(stateblock);
             rtv = wined3d_device_get_rendertarget_view(ddraw->wined3d_device, 0);
             /* Rendering to ddraw->wined3d_frontbuffer. */
             if (rtv && !wined3d_rendertarget_view_get_sub_resource_parent(rtv))




More information about the wine-cvs mailing list