Blender Git Loki
Git Commits -> Revision fa9bb2f
Revision fa9bb2f by Benoit Bolsee (master) June 11, 2016, 20:15 (GMT) |
Atomic ops: Fix atomic_add_uint32 and atomic_sub_uint32 in Windows The assembler version in Windows used to return the previous value of the variable while all the other versions return the new value. This is now fixed for consistency. Note: this bug had no effect on blender because no part of the code use the return value of these functions, but the future BGE DeckLink module makes use of it to implement reference counter. |
Commit Details:
Full Hash: fa9bb2ffe97334a5c686b954673af118c41d1a6d
Parent Commit: 40f1c4f
Lines Changed: +6, -5
1 Modified Path:
/intern/atomic/intern/atomic_ops_unix.h (+6, -5) (Diff)