mirror of
https://github.com/reactos/wine.git
synced 2025-02-25 23:35:31 +00:00
ddraw: Remove unneeded casts.
This commit is contained in:
parent
f2df3d7582
commit
1f73a97a5a
@ -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,
|
|||||||
}
|
}
|
||||||
|
|
||||||
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;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user