Henri Verbeet : ddraw: Fix render target refcount handling.

Alexandre Julliard julliard at winehq.org
Tue Sep 17 15:25:53 CDT 2013


Module: wine
Branch: master
Commit: df01e8d6ccd30d0278b6a999dbd984c901f150dd
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=df01e8d6ccd30d0278b6a999dbd984c901f150dd

Author: Henri Verbeet <hverbeet at codeweavers.com>
Date:   Tue Sep 17 09:22:36 2013 +0200

ddraw: Fix render target refcount handling.

Similar to AddAttachedSurface() / DeleteAttachedSurface(), we should Release
the interface version that we stored. (And actually store the interface that
we AddRef.)

---

 dlls/ddraw/ddraw.c         |   15 ++++---
 dlls/ddraw/ddraw_private.h |    4 +-
 dlls/ddraw/device.c        |  102 +++++++++++++++++--------------------------
 dlls/ddraw/surface.c       |    7 ++-
 4 files changed, 55 insertions(+), 73 deletions(-)

Diff:   http://source.winehq.org/git/wine.git/?a=commitdiff;h=df01e8d6ccd30d0278b6a999dbd984c901f150dd



More information about the wine-cvs mailing list