Commit ca69a23d authored by Henri Verbeet's avatar Henri Verbeet Committed by Alexandre Julliard

wined3d: Get rid of some redundant else statements in IWineD3DSurfaceImpl_BltOverride().

parent 179d6f80
......@@ -5411,14 +5411,21 @@ static HRESULT IWineD3DSurfaceImpl_BltOverride(struct wined3d_surface *dst_surfa
TRACE("Unsupported blit between buffers on the same swapchain\n");
return WINED3DERR_INVALIDCALL;
} else if(dstSwapchain && dstSwapchain == srcSwapchain) {
}
if (dstSwapchain && dstSwapchain == srcSwapchain)
{
FIXME("Implement hardware blit between two surfaces on the same swapchain\n");
return WINED3DERR_INVALIDCALL;
} else if(dstSwapchain && srcSwapchain) {
}
if (dstSwapchain && srcSwapchain)
{
FIXME("Implement hardware blit between two different swapchains\n");
return WINED3DERR_INVALIDCALL;
}
else if (dstSwapchain)
if (dstSwapchain)
{
/* Handled with regular texture -> swapchain blit */
if (src_surface == device->fb.render_targets[0])
......
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