Commit c6a5bc3c authored by Zebediah Figura's avatar Zebediah Figura Committed by Alexandre Julliard

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

parent ddb71365
......@@ -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))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment