[PATCH 5/5] wined3d: IWineD3DStateBlockImpl no longer implements IWineD3DBase.

Henri Verbeet hverbeet at codeweavers.com
Thu Dec 17 12:14:36 CST 2009


---
 dlls/wined3d/stateblock.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/dlls/wined3d/stateblock.c b/dlls/wined3d/stateblock.c
index 7c47f36..7241e8a 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;
-- 
1.6.4.4




More information about the wine-patches mailing list