ddraw: Compare the against the correct IID in IDirect3DExecuteBufferImpl_QueryInterface().

This commit is contained in:
Henri Verbeet 2009-01-20 10:00:20 +01:00 committed by Alexandre Julliard
parent 9e7b5676a7
commit b2d42ad665
1 changed files with 1 additions and 1 deletions

View File

@ -603,7 +603,7 @@ IDirect3DExecuteBufferImpl_QueryInterface(IDirect3DExecuteBuffer *iface,
TRACE(" Creating IUnknown interface at %p.\n", *obj); TRACE(" Creating IUnknown interface at %p.\n", *obj);
return S_OK; return S_OK;
} }
if ( IsEqualGUID( &IID_IDirect3DMaterial, riid ) ) { if ( IsEqualGUID( &IID_IDirect3DExecuteBuffer, riid ) ) {
IDirect3DExecuteBuffer_AddRef(ICOM_INTERFACE(This, IDirect3DExecuteBuffer)); IDirect3DExecuteBuffer_AddRef(ICOM_INTERFACE(This, IDirect3DExecuteBuffer));
*obj = ICOM_INTERFACE(This, IDirect3DExecuteBuffer); *obj = ICOM_INTERFACE(This, IDirect3DExecuteBuffer);
TRACE(" Creating IDirect3DExecuteBuffer interface %p\n", *obj); TRACE(" Creating IDirect3DExecuteBuffer interface %p\n", *obj);