ddraw: Get rid of redundant call to wined3d_stateblock_capture().
Signed-off-by: Zebediah Figura <z.figura12@gmail.com> Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
ddb713653b
commit
c6a5bc3ca1
|
@ -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))
|
||||
|
|
Loading…
Reference in New Issue