wined3d: Remove some dead code from IWineD3DDeviceImpl_Uninit3D().

This commit is contained in:
Henri Verbeet 2010-04-15 19:21:29 +02:00 committed by Alexandre Julliard
parent da1b459754
commit f6e923b55d
1 changed files with 2 additions and 3 deletions

View File

@ -1862,9 +1862,8 @@ static HRESULT WINAPI IWineD3DDeviceImpl_Uninit3D(IWineD3DDevice *iface,
This->stencilBufferTarget = NULL;
TRACE("Releasing the render target at %p\n", This->render_targets[0]);
if(IWineD3DSurface_Release(This->render_targets[0]) >0){
/* This check is a bit silly, it should be in swapchain_release FIXME("(%p) Something's still holding the renderTarget\n",This); */
}
IWineD3DSurface_Release(This->render_targets[0]);
TRACE("Setting rendertarget to NULL\n");
This->render_targets[0] = NULL;