Blender Git Commit Log
Git Commits -> Revision 901d33e
Revision 901d33e by Benoit Bolsee (temp-decklink) June 9, 2016, 22:00 (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: 901d33ed0cc9df98173f4e955212497fc871f118
Parent Commit: 8089876
Lines Changed: +6, -5
1 Modified Path:
/intern/atomic/intern/atomic_ops_unix.h (+6, -5) (Diff)