Take 2: DDRAW: Fix reference counting
stefandoesinger at gmx.at
Mon Sep 19 08:09:53 CDT 2005
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
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...
Size: 9704 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-devel/attachments/20050919/f9e49c62/refcount-0001.diff
More information about the wine-devel