wined3d: Remove a return after a return. Found by Smatch.
Michael Stefaniuc
mstefani at redhat.de
Tue Jul 24 15:29:16 CDT 2007
---
dlls/wined3d/surface.c | 5 +----
1 files changed, 1 insertions(+), 4 deletions(-)
diff --git a/dlls/wined3d/surface.c b/dlls/wined3d/surface.c
index 07467be..11e0fba 100644
--- a/dlls/wined3d/surface.c
+++ b/dlls/wined3d/surface.c
@@ -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;
}
--
1.5.2.2
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20070724/0a5e7342/attachment.pgp
More information about the wine-patches
mailing list