diff options
author | Chris Robinson <[email protected]> | 2014-07-31 04:34:46 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2014-07-31 04:34:46 -0700 |
commit | ce046d2f03a349d15a5e092d64287df33a79117b (patch) | |
tree | 1ff151d7743a5bf7203591a7dab69d0beaf761d0 /Alc/ALc.c | |
parent | 6ce464aed89de37c519fad36d17fa9b9ba7819e5 (diff) |
Rename ATOMIC_COMPARE_EXCHANGE to ATOMIC_COMPARE_EXCHANGE_STRONG
Diffstat (limited to 'Alc/ALc.c')
-rw-r--r-- | Alc/ALc.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -2191,7 +2191,7 @@ static void ReleaseContext(ALCcontext *context, ALCdevice *device) } origctx = context; - if(ATOMIC_COMPARE_EXCHANGE(ALCcontext*, &GlobalContext, &origctx, NULL)) + if(ATOMIC_COMPARE_EXCHANGE_STRONG(ALCcontext*, &GlobalContext, &origctx, NULL)) ALCcontext_DecRef(context); ALCdevice_Lock(device); |