Module: wine Branch: master Commit: 2dbbecbb9e23d9cde7d48eb11af3675fffff51c5 URL: http://source.winehq.org/git/wine.git/?a=commit;h=2dbbecbb9e23d9cde7d48eb11a...
Author: Christian Costa titan.costa@gmail.com Date: Thu May 17 10:09:48 2012 +0200
d3drm: Display new ref in trace for AddRef and Release for IDirect3DRMMesh.
---
dlls/d3drm/meshbuilder.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/d3drm/meshbuilder.c b/dlls/d3drm/meshbuilder.c index c84ccb8..38a38e8 100644 --- a/dlls/d3drm/meshbuilder.c +++ b/dlls/d3drm/meshbuilder.c @@ -2149,7 +2149,7 @@ static ULONG WINAPI IDirect3DRMMeshImpl_AddRef(IDirect3DRMMesh* iface) IDirect3DRMMeshImpl *This = impl_from_IDirect3DRMMesh(iface); ULONG ref = InterlockedIncrement(&This->ref);
- TRACE("(%p): AddRef from %d\n", This, ref - 1); + TRACE("(%p)->(): new ref = %d\n", This, ref);
return ref; } @@ -2159,7 +2159,7 @@ static ULONG WINAPI IDirect3DRMMeshImpl_Release(IDirect3DRMMesh* iface) IDirect3DRMMeshImpl *This = impl_from_IDirect3DRMMesh(iface); ULONG ref = InterlockedDecrement(&This->ref);
- TRACE("(%p): ReleaseRef to %d\n", This, ref); + TRACE("(%p)->(): new ref = %d\n", This, ref);
if (!ref) HeapFree(GetProcessHeap(), 0, This);