aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/ALc.c
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2012-01-26 14:46:52 -0800
committerChris Robinson <[email protected]>2012-01-26 14:46:52 -0800
commit119768001cc9c7ca3be545f24fd9a7f1ac253836 (patch)
tree512efd159bb1fdc3115df38bd6fee97bc3340468 /Alc/ALc.c
parent3ee92a2b334c3d84ddc0d7d9c036faf9778e6d55 (diff)
Make sure InitializeEffect on the default slot doesn't set a context error
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);