wined3d: Get rid of some redundant else statements in IWineD3DSurfaceImpl_BltOverride().
This commit is contained in:
parent
179d6f8087
commit
ca69a23d52
|
@ -5411,14 +5411,21 @@ static HRESULT IWineD3DSurfaceImpl_BltOverride(struct wined3d_surface *dst_surfa
|
||||||
|
|
||||||
TRACE("Unsupported blit between buffers on the same swapchain\n");
|
TRACE("Unsupported blit between buffers on the same swapchain\n");
|
||||||
return WINED3DERR_INVALIDCALL;
|
return WINED3DERR_INVALIDCALL;
|
||||||
} else if(dstSwapchain && dstSwapchain == srcSwapchain) {
|
}
|
||||||
|
|
||||||
|
if (dstSwapchain && dstSwapchain == srcSwapchain)
|
||||||
|
{
|
||||||
FIXME("Implement hardware blit between two surfaces on the same swapchain\n");
|
FIXME("Implement hardware blit between two surfaces on the same swapchain\n");
|
||||||
return WINED3DERR_INVALIDCALL;
|
return WINED3DERR_INVALIDCALL;
|
||||||
} else if(dstSwapchain && srcSwapchain) {
|
}
|
||||||
|
|
||||||
|
if (dstSwapchain && srcSwapchain)
|
||||||
|
{
|
||||||
FIXME("Implement hardware blit between two different swapchains\n");
|
FIXME("Implement hardware blit between two different swapchains\n");
|
||||||
return WINED3DERR_INVALIDCALL;
|
return WINED3DERR_INVALIDCALL;
|
||||||
}
|
}
|
||||||
else if (dstSwapchain)
|
|
||||||
|
if (dstSwapchain)
|
||||||
{
|
{
|
||||||
/* Handled with regular texture -> swapchain blit */
|
/* Handled with regular texture -> swapchain blit */
|
||||||
if (src_surface == device->fb.render_targets[0])
|
if (src_surface == device->fb.render_targets[0])
|
||||||
|
|
Loading…
Reference in New Issue