Fix building without C11

This commit is contained in:
Chris Robinson
2017-03-10 04:59:22 -08:00
parent 583d431947
commit b878769ee0
+2 -1
View File
@@ -2313,7 +2313,8 @@ static ALCenum UpdateDeviceParams(ALCdevice *device, const ALCint *attrList)
for(pos = 0;pos < context->VoiceCount;pos++)
{
ALvoice *voice = context->Voices[pos];
if(!voice->Source) continue;
if(ATOMIC_LOAD(&voice->Source, almemory_order_acquire) == NULL)
continue;
if(device->AvgSpeakerDist > 0.0f)
{