[prev in list] [next in list] [prev in thread] [next in thread]
List: wine-patches
Subject: Revert [1] "d3d: Fix partially applied patch: Remove AddRef from
From: Markus Amsler <markus.amsler () oribi ! org>
Date: 2006-11-30 12:32:58
Message-ID: 456ECF7A.8000000 () oribi ! org
[Download RAW message or body]
Removing COM in d3d is not feasible as long as we use inheritance. So
stick to the COM refcount rules.
This reverts commit 3fd8fe089c5337c76c55c4beb74c53576f51776e.
---
dlls/wined3d/device.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
["29d0aab147250d035408f46a685995a5b99b9f80.diff" (text/x-patch)]
diff --git a/dlls/wined3d/device.c b/dlls/wined3d/device.c
index caac5a1..57318d4 100644
--- a/dlls/wined3d/device.c
+++ b/dlls/wined3d/device.c
@@ -2305,6 +2305,7 @@ static HRESULT WINAPI IWineD3DDeviceImpl
IWineD3DDeviceImpl *This = (IWineD3DDeviceImpl *)iface;
*ppD3D= This->wineD3D;
TRACE("(%p) : wineD3D returning %p\n", This, *ppD3D);
+ IWineD3D_AddRef(*ppD3D);
return WINED3D_OK;
}
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic