dxgi: Remove superfluous pointer casts.
This commit is contained in:
parent
79f49804a4
commit
f93b29b04d
|
@ -315,7 +315,7 @@ HRESULT WINAPI DXGID3D10CreateDevice(HMODULE d3d10core, IDXGIFactory *factory, I
|
|||
goto fail;
|
||||
}
|
||||
|
||||
*device = (IUnknown *)dxgi_device;
|
||||
*device = dxgi_device;
|
||||
|
||||
return hr;
|
||||
|
||||
|
|
|
@ -131,7 +131,7 @@ static HRESULT STDMETHODCALLTYPE dxgi_factory_EnumAdapters(IWineDXGIFactory *ifa
|
|||
return DXGI_ERROR_NOT_FOUND;
|
||||
}
|
||||
|
||||
*adapter = (IDXGIAdapter *)This->adapters[adapter_idx];
|
||||
*adapter = This->adapters[adapter_idx];
|
||||
IDXGIAdapter_AddRef(*adapter);
|
||||
|
||||
TRACE("Returning adapter %p\n", *adapter);
|
||||
|
|
Loading…
Reference in New Issue