wined3d: Remove a return after a return. Found by Smatch.
This commit is contained in:
parent
2fe189fd09
commit
25707d4c5d
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue