diff options
author | Chris Robinson <[email protected]> | 2012-01-26 14:46:52 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2012-01-26 14:46:52 -0800 |
commit | 119768001cc9c7ca3be545f24fd9a7f1ac253836 (patch) | |
tree | 512efd159bb1fdc3115df38bd6fee97bc3340468 | |
parent | 3ee92a2b334c3d84ddc0d7d9c036faf9778e6d55 (diff) |
Make sure InitializeEffect on the default slot doesn't set a context error
-rw-r--r-- | Alc/ALc.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -2258,6 +2258,7 @@ ALC_API ALCcontext* ALC_APIENTRY alcCreateContext(ALCdevice *device, const ALCin UnlockLists(); InitializeEffect(ALContext, device->DefaultSlot, &ForcedEffect); + ALContext->LastError = AL_NO_ERROR; ALCdevice_DecRef(device); |