diff options
author | Chris Robinson <[email protected]> | 2011-07-11 01:05:42 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2011-07-11 01:05:42 -0700 |
commit | 58466a304b24e86c507f16d07fdbec051d2ada14 (patch) | |
tree | a40c6aace264c46abb9ba34ba2da7990101875a9 /Alc/ALc.c | |
parent | 51c09e94b84d386b51d130a540a2669a514061bb (diff) |
Use a flag to signifiy that all sources need updating
Diffstat (limited to 'Alc/ALc.c')
-rw-r--r-- | Alc/ALc.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -1448,6 +1448,7 @@ static ALCboolean UpdateDeviceParams(ALCdevice *device, const ALCint *attrList) ALsource_Update(source, context); source->NeedsUpdate = AL_FALSE; } + context->UpdateSources = AL_FALSE; } UnlockDevice(device); @@ -1540,6 +1541,7 @@ static ALvoid InitContext(ALCcontext *pContext) //Validate pContext pContext->LastError = AL_NO_ERROR; + pContext->UpdateSources = AL_FALSE; pContext->Suspended = AL_FALSE; pContext->ActiveSourceCount = 0; InitUIntMap(&pContext->SourceMap); |