aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/ALc.c
diff options
context:
space:
mode:
Diffstat (limited to 'Alc/ALc.c')
-rw-r--r--Alc/ALc.c1
1 files changed, 1 insertions, 0 deletions
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);