Commit 719eeea2 authored by Henri Verbeet's avatar Henri Verbeet Committed by Alexandre Julliard

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

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