ddraw: Remove unused code for ChangeUniquenessValue.

Sebastian Lackner sebastian at fds-team.de
Mon Mar 2 22:16:16 CST 2015


The code is obviously wrong (arguments for InterlockedCompareExchange are swapped), and moreover is currently noop because "if (old_uniqueness_value == 0) break;" has the effect that the counter is never updated.

---
 dlls/ddraw/ddraw_private.h |  1 -
 dlls/ddraw/surface.c       | 31 +------------------------------
 2 files changed, 1 insertion(+), 31 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-ddraw-Remove-unused-code-for-ChangeUniquenessValue.patch
Type: text/x-patch
Size: 2740 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20150303/ae77df79/attachment.bin>


More information about the wine-patches mailing list