ddraw: Don't return a pointer to the implementation in IDirect3DDeviceImpl_7_QueryInterface().

This commit is contained in:
Henri Verbeet 2012-03-13 20:31:34 +01:00 committed by Alexandre Julliard
parent f6bb0a9016
commit 9157006fc1
1 changed files with 1 additions and 1 deletions

View File

@ -175,7 +175,7 @@ IDirect3DDeviceImpl_7_QueryInterface(IDirect3DDevice7 *iface,
TRACE("(%p) Returning IDirect3DDevice3 interface at %p\n", This, *obj);
}
else if ( IsEqualGUID( &IID_IDirect3DDevice7 , refiid ) ) {
*obj = This;
*obj = &This->IDirect3DDevice7_iface;
TRACE("(%p) Returning IDirect3DDevice7 interface at %p\n", This, *obj);
}