From 21a9c2d2f91ea36d865eaf75dffa2a821eb2b84d Mon Sep 17 00:00:00 2001 From: Gerald Pfeifer Date: Wed, 2 Jan 2008 15:30:00 +0100 Subject: [PATCH] wined3d: Removed dead FIXME checks. --- dlls/d3d8/device.c | 5 ----- dlls/d3d9/device.c | 5 ----- dlls/wined3d/device.c | 5 ----- 3 files changed, 15 deletions(-) diff --git a/dlls/d3d8/device.c b/dlls/d3d8/device.c index 56ae1452cc4..1d1bef7b313 100644 --- a/dlls/d3d8/device.c +++ b/dlls/d3d8/device.c @@ -635,11 +635,6 @@ static HRESULT WINAPI IDirect3DDevice8Impl_CreateSurface(LPDIRECT3DDEVICE8 iface IDirect3DSurface8Impl *object; IDirect3DDevice8Impl *This = (IDirect3DDevice8Impl *)iface; TRACE("(%p) Relay\n", This); - if(MultisampleQuality < 0) { - FIXME("MultisampleQuality out of range %d, substituting 0\n", MultisampleQuality); - /*FIXME: Find out what windows does with a MultisampleQuality < 0 */ - MultisampleQuality=0; - } if(MultisampleQuality > 0){ FIXME("MultisampleQuality set to %d, substituting 0\n" , MultisampleQuality); diff --git a/dlls/d3d9/device.c b/dlls/d3d9/device.c index 6308eb55a86..9c507696e01 100644 --- a/dlls/d3d9/device.c +++ b/dlls/d3d9/device.c @@ -351,11 +351,6 @@ static HRESULT WINAPI IDirect3DDevice9Impl_CreateSurface(LPDIRECT3DDEVICE9 ifac IDirect3DSurface9Impl *object; IDirect3DDevice9Impl *This = (IDirect3DDevice9Impl *)iface; TRACE("(%p) Relay\n", This); - if(MultisampleQuality < 0) { - FIXME("MultisampleQuality out of range %d, substituting 0\n", MultisampleQuality); - /*FIXME: Find out what windows does with a MultisampleQuality < 0 */ - MultisampleQuality=0; - } if(MultisampleQuality > 0){ FIXME("MultisampleQuality set to %d, bstituting 0\n", MultisampleQuality); diff --git a/dlls/wined3d/device.c b/dlls/wined3d/device.c index 9d174980542..e9970a3d2eb 100644 --- a/dlls/wined3d/device.c +++ b/dlls/wined3d/device.c @@ -709,11 +709,6 @@ static HRESULT WINAPI IWineD3DDeviceImpl_CreateSurface(IWineD3DDevice *iface, U *This flag has the same behavior as the constant, D3DPRESENTFLAG_DISCARD_DEPTHSTENCIL, in D3DPRESENTFLAG. ***************************/ - if(MultisampleQuality < 0) { - FIXME("Invalid multisample level %d\n", MultisampleQuality); - return WINED3DERR_INVALIDCALL; /* TODO: Check that this is the case! */ - } - if(MultisampleQuality > 0) { FIXME("MultisampleQuality set to %d, substituting 0\n", MultisampleQuality); MultisampleQuality=0;