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:
Józef Kucia 2017-04-28 09:42:54 +02:00 committed by Alexandre Julliard
parent cb7c0b72bb
commit d3a67bc334
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}