mirror of
https://github.com/wine-mirror/wine
synced 2024-07-08 20:06:18 +00:00
dxgi: Return iface instead of object pointer.
Signed-off-by: Józef Kucia <jkucia@codeweavers.com> Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
cb7c0b72bb
commit
d3a67bc334
|
@ -195,7 +195,7 @@ HRESULT WINAPI DXGID3D10CreateDevice(HMODULE d3d10core, IDXGIFactory *factory, I
|
|||
}
|
||||
|
||||
TRACE("Created device %p.\n", dxgi_device);
|
||||
*device = dxgi_device;
|
||||
*device = &dxgi_device->IWineDXGIDevice_iface;
|
||||
|
||||
return S_OK;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user