From a389fe551e1ac44a1805eccffd3ba5a3679dbc10 Mon Sep 17 00:00:00 2001 From: Henri Verbeet Date: Thu, 17 Dec 2009 19:14:36 +0100 Subject: [PATCH] wined3d: IWineD3DStateBlockImpl no longer implements IWineD3DBase. --- dlls/wined3d/stateblock.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dlls/wined3d/stateblock.c b/dlls/wined3d/stateblock.c index 7c47f36270..7241e8a3cc 100644 --- a/dlls/wined3d/stateblock.c +++ b/dlls/wined3d/stateblock.c @@ -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;