Commit 9157006f authored by Henri Verbeet's avatar Henri Verbeet Committed by Alexandre Julliard

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

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