From d85730c8e35817b1563d5f8d8279296e3e319f20 Mon Sep 17 00:00:00 2001 From: Henri Verbeet Date: Sun, 14 Mar 2010 21:53:21 +0100 Subject: [PATCH] d3dx9_36: ID3DXBuffer is a base interface for ID3DXConstantTable. --- dlls/d3dx9_36/shader.c | 1 + 1 file changed, 1 insertion(+) diff --git a/dlls/d3dx9_36/shader.c b/dlls/d3dx9_36/shader.c index c65f6746c73..6cad03225e4 100644 --- a/dlls/d3dx9_36/shader.c +++ b/dlls/d3dx9_36/shader.c @@ -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);