Commit 25707d4c authored by Michael Stefaniuc's avatar Michael Stefaniuc Committed by Alexandre Julliard

wined3d: Remove a return after a return. Found by Smatch.

parent 2fe189fd
......@@ -3152,7 +3152,7 @@ static HRESULT WINAPI IWineD3DSurfaceImpl_BltZ(IWineD3DSurfaceImpl *This, RECT *
{
IWineD3DDeviceImpl *myDevice = This->resource.wineD3DDevice;
if (Flags & WINEDDBLT_DEPTHFILL) {
if (Flags & WINEDDBLT_DEPTHFILL)
return IWineD3DDevice_Clear((IWineD3DDevice *) myDevice,
DestRect == NULL ? 0 : 1,
(WINED3DRECT *) DestRect,
......@@ -3161,9 +3161,6 @@ static HRESULT WINAPI IWineD3DSurfaceImpl_BltZ(IWineD3DSurfaceImpl *This, RECT *
(float) DDBltFx->u5.dwFillDepth / (float) MAXDWORD,
0x00000000);
return WINED3D_OK;
}
FIXME("(%p): Unsupp depthstencil blit\n", This);
return WINED3DERR_INVALIDCALL;
}
......
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