Commit 1f73a97a authored by Andrew Talbot's avatar Andrew Talbot Committed by Alexandre Julliard

ddraw: Remove unneeded casts.

parent f2df3d75
...@@ -1725,7 +1725,7 @@ ULONG WINAPI D3D7CB_DestroyDepthStencilSurface(IWineD3DSurface *pSurface) { ...@@ -1725,7 +1725,7 @@ ULONG WINAPI D3D7CB_DestroyDepthStencilSurface(IWineD3DSurface *pSurface) {
IUnknown* surfaceParent; IUnknown* surfaceParent;
TRACE("(%p) call back\n", pSurface); TRACE("(%p) call back\n", pSurface);
IWineD3DSurface_GetParent(pSurface, (IUnknown **) &surfaceParent); IWineD3DSurface_GetParent(pSurface, &surfaceParent);
IUnknown_Release(surfaceParent); IUnknown_Release(surfaceParent);
return IUnknown_Release(surfaceParent); return IUnknown_Release(surfaceParent);
} }
......
...@@ -4179,7 +4179,7 @@ IDirect3DDeviceImpl_7_GetTexture(IDirect3DDevice7 *iface, ...@@ -4179,7 +4179,7 @@ IDirect3DDeviceImpl_7_GetTexture(IDirect3DDevice7 *iface,
} }
EnterCriticalSection(&ddraw_cs); EnterCriticalSection(&ddraw_cs);
hr = IWineD3DDevice_GetTexture(This->wineD3DDevice, Stage, (IWineD3DBaseTexture **) &Surf); hr = IWineD3DDevice_GetTexture(This->wineD3DDevice, Stage, &Surf);
if( (hr != D3D_OK) || (!Surf) ) if( (hr != D3D_OK) || (!Surf) )
{ {
*Texture = NULL; *Texture = NULL;
......
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