diff options
author | Thorvald Natvig <slicer@users.sourceforge.net> | 2009-08-25 21:52:11 +0400 |
---|---|---|
committer | Thorvald Natvig <slicer@users.sourceforge.net> | 2009-08-25 21:52:11 +0400 |
commit | c663db3e4f59852d02033dad77668012710669a4 (patch) | |
tree | 09b084fe854339942e2ea09fc48179cb4ae73d23 /overlay | |
parent | 8e0cbc8c781ae6036912e973d59c38b807d03daf (diff) |
Remove ods() for addref/release, impossible to run real apps with it on
Diffstat (limited to 'overlay')
-rw-r--r-- | overlay/d3d10.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/overlay/d3d10.cpp b/overlay/d3d10.cpp index 9eab96b7b..f4f99e837 100644 --- a/overlay/d3d10.cpp +++ b/overlay/d3d10.cpp @@ -307,7 +307,6 @@ static ULONG __stdcall myAddRef(ID3D10Device *pDevice) { if (ds) ds->lHighMark = res; - ods("D3D10: Chaining AddRef: %d", res); return res; } @@ -322,7 +321,7 @@ static ULONG __stdcall myRelease(ID3D10Device *pDevice) { D10State *ds = devices[pDevice]; if (ds) if (res < (ds->lHighMark / 2)) { - ods("D3D10: Deleting resources %p %p %p (%p)", ds, ds->pDevice, ds->pSwapChain, pDevice); + ods("D3D10: Deleting resources %d < .5 %d", res, ds->lHighMark); devices.erase(ds->pDevice); chains.erase(ds->pSwapChain); delete ds; @@ -330,7 +329,6 @@ static ULONG __stdcall myRelease(ID3D10Device *pDevice) { ds = NULL; } - ods("D3D10: Chaining Release: %d %d", res, (ds) ? ds->myRefCount : -1); return res; } |