wined3d: IWineD3DStateBlockImpl no longer implements IWineD3DBase.

This commit is contained in:
Henri Verbeet 2009-12-17 19:14:36 +01:00 committed by Alexandre Julliard
parent 23f05028f8
commit a389fe551e

View File

@ -465,8 +465,8 @@ static HRESULT WINAPI IWineD3DStateBlockImpl_QueryInterface(IWineD3DStateBlock
IWineD3DStateBlockImpl *This = (IWineD3DStateBlockImpl *)iface;
TRACE("(%p)->(%s,%p)\n",This,debugstr_guid(riid),ppobj);
if (IsEqualGUID(riid, &IID_IUnknown)
|| IsEqualGUID(riid, &IID_IWineD3DBase)
|| IsEqualGUID(riid, &IID_IWineD3DStateBlock)){
|| IsEqualGUID(riid, &IID_IWineD3DStateBlock))
{
IUnknown_AddRef(iface);
*ppobj = This;
return S_OK;