From: Henri Verbeet hverbeet@codeweavers.com
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 4bb94ee5b..cc9e43269 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 */
This merge request was approved by Giovanni Mascellani.