ddraw: Don't return a pointer to the implementation in IDirect3DDeviceImpl_7_QueryInterface().
This commit is contained in:
parent
f6bb0a9016
commit
9157006fc1
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue