dxgi: Don't return a pointer to the implementation in dxgi_surface_inner_QueryInterface().
This commit is contained in:
parent
9804ebcd9e
commit
719eeea2ae
|
@ -43,7 +43,7 @@ static HRESULT STDMETHODCALLTYPE dxgi_surface_inner_QueryInterface(IUnknown *ifa
|
|||
|| IsEqualGUID(riid, &IID_IUnknown))
|
||||
{
|
||||
IDXGISurface_AddRef(&This->IDXGISurface_iface);
|
||||
*object = This;
|
||||
*object = &This->IDXGISurface_iface;
|
||||
return S_OK;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue