Take 2: DDRAW: Fix reference counting

Stefan Dösinger stefandoesinger at gmx.at
Mon Sep 19 09:31:31 CDT 2005

This time to wine-patches. Sorry for the wrong mail.

> Hello,
> This patch increases the reference count of a DirectDraw object when a
> Surface is created, like Windows does. It also adds a test which tests this
> functionality.
> This time with the !FAILED() -> SUCCEEDED() suggestion from
> Robert Shearman. I kept adding a secound refcount in case of
> DDSCAPS_TEXTURE surfaces to achieve more compatiblity with Windows.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: refcount.diff
Type: text/x-diff
Size: 9704 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20050919/d67ec721/refcount.diff

More information about the wine-patches mailing list