Commit d85730c8 authored by Henri Verbeet's avatar Henri Verbeet Committed by Alexandre Julliard

d3dx9_36: ID3DXBuffer is a base interface for ID3DXConstantTable.

parent ae437ab5
...@@ -291,6 +291,7 @@ static HRESULT WINAPI ID3DXConstantTableImpl_QueryInterface(ID3DXConstantTable* ...@@ -291,6 +291,7 @@ static HRESULT WINAPI ID3DXConstantTableImpl_QueryInterface(ID3DXConstantTable*
TRACE("(%p)->(%s, %p)\n", This, debugstr_guid(riid), ppvObject); TRACE("(%p)->(%s, %p)\n", This, debugstr_guid(riid), ppvObject);
if (IsEqualGUID(riid, &IID_IUnknown) || if (IsEqualGUID(riid, &IID_IUnknown) ||
IsEqualGUID(riid, &IID_ID3DXBuffer) ||
IsEqualGUID(riid, &IID_ID3DXConstantTable)) IsEqualGUID(riid, &IID_ID3DXConstantTable))
{ {
ID3DXConstantTable_AddRef(iface); ID3DXConstantTable_AddRef(iface);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment