Commit d3a67bc3 authored by Józef Kucia's avatar Józef Kucia Committed by Alexandre Julliard

dxgi: Return iface instead of object pointer.

parent cb7c0b72
......@@ -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;
}
......
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