d3dx9_36: ID3DXBuffer is a base interface for ID3DXConstantTable.

This commit is contained in:
Henri Verbeet 2010-03-14 21:53:21 +01:00 committed by Alexandre Julliard
parent ae437ab5b8
commit d85730c8e3
1 changed files with 1 additions and 0 deletions

View File

@ -291,6 +291,7 @@ static HRESULT WINAPI ID3DXConstantTableImpl_QueryInterface(ID3DXConstantTable*
TRACE("(%p)->(%s, %p)\n", This, debugstr_guid(riid), ppvObject);
if (IsEqualGUID(riid, &IID_IUnknown) ||
IsEqualGUID(riid, &IID_ID3DXBuffer) ||
IsEqualGUID(riid, &IID_ID3DXConstantTable))
{
ID3DXConstantTable_AddRef(iface);