Module: vkd3d Branch: master Commit: 4db7b40ca8076b861239a1537566b8edce645d74 URL: https://gitlab.winehq.org/wine/vkd3d/-/commit/4db7b40ca8076b861239a1537566b8...
Author: Henri Verbeet hverbeet@codeweavers.com Date: Thu Jan 11 00:11:52 2024 +0100
vkd3d-common: Get rid of InterlockedAdd().
This was once used by libvkd3d's fence worker thread, but currently this is unused.
---
include/private/vkd3d_common.h | 4 ---- 1 file changed, 4 deletions(-)
diff --git a/include/private/vkd3d_common.h b/include/private/vkd3d_common.h index 4bb94ee5..cc9e4326 100644 --- a/include/private/vkd3d_common.h +++ b/include/private/vkd3d_common.h @@ -277,10 +277,6 @@ static inline LONG64 InterlockedIncrement64(LONG64 volatile *x) { return __sync_add_and_fetch(x, 1); } -static inline LONG InterlockedAdd(LONG volatile *x, LONG val) -{ - return __sync_add_and_fetch(x, val); -} # else # error "InterlockedIncrement() not implemented for this platform" # endif /* HAVE_SYNC_ADD_AND_FETCH */