diff --git a/dlls/ddraw/material.c b/dlls/ddraw/material.c index 24b932f408a..fd9a2530f61 100644 --- a/dlls/ddraw/material.c +++ b/dlls/ddraw/material.c @@ -94,7 +94,7 @@ static HRESULT WINAPI IDirect3DMaterialImpl_QueryInterface(IDirect3DMaterial3 *i } if ( IsEqualGUID( &IID_IDirect3DMaterial3, riid ) ) { IDirect3DMaterial3_AddRef(&This->IDirect3DMaterial3_iface); - *obp = This; + *obp = &This->IDirect3DMaterial3_iface; TRACE(" Creating IDirect3DMaterial3 interface %p\n", *obp); return S_OK; }