dxgi: Don't return a pointer to the implementation in dxgi_surface_inner_QueryInterface().

This commit is contained in:
Henri Verbeet 2012-04-05 19:55:37 +02:00 committed by Alexandre Julliard
parent 9804ebcd9e
commit 719eeea2ae
1 changed files with 1 additions and 1 deletions

View File

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