[1/7] ddraw: Remove ddraw_set_surface_version and set surface version when initialising it. (try 2)

Ričardas Barkauskas rbarkauskas at codeweavers.com
Mon Jun 20 17:07:17 CDT 2011


Changes in try 2:
Ref counts are access only through interlocked functions except one
warning in ddraw_surface_destroy. It was used like that there before and
it's under critical section.

Tried to follow wined3d code style more.

Removed ddraw_set_surface_version and set version and initial refcounts
on initalisation.

Added a few refcount tests.

Introduced helper function to delete attached surfaces - less mess with
refcounts this way.

Ričardas Barkauskas
REalm
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 0003-ddraw-Remove-ddraw_set_surface_version-and-set-surface.txt
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20110621/8a7794c9/attachment.txt>


More information about the wine-patches mailing list