ddraw: Fix render target refcount handling.
commitdf01e8d6ccd30d0278b6a999dbd984c901f150dd
authorHenri Verbeet <hverbeet@codeweavers.com>
Tue, 17 Sep 2013 07:22:36 +0000 (17 09:22 +0200)
committerAlexandre Julliard <julliard@winehq.org>
Tue, 17 Sep 2013 10:01:18 +0000 (17 12:01 +0200)
treebc33e962863c9a413247a140124ec998106b5fa3
parent6594212dd6bbf93d17cedb82eacc6a81bd066fe3
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
dlls/ddraw/ddraw_private.h
dlls/ddraw/device.c
dlls/ddraw/surface.c