From 119768001cc9c7ca3be545f24fd9a7f1ac253836 Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Thu, 26 Jan 2012 14:46:52 -0800 Subject: Make sure InitializeEffect on the default slot doesn't set a context error --- Alc/ALc.c | 1 + 1 file changed, 1 insertion(+) diff --git a/Alc/ALc.c b/Alc/ALc.c index 06ff56d1..29ccbf45 100644 --- a/Alc/ALc.c +++ b/Alc/ALc.c @@ -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); -- cgit v1.2.3