aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Alc/ALc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Alc/ALc.c b/Alc/ALc.c
index 237eb4b7..9c460267 100644
--- a/Alc/ALc.c
+++ b/Alc/ALc.c
@@ -1205,7 +1205,7 @@ ALCAPI ALCcontext* ALCAPIENTRY alcCreateContext(ALCdevice *device, const ALCint
device->NumAuxSends = GetConfigValueInt(NULL, "sends", numSends);
}
- if(ALCdevice_ResetPlayback(device) != ALC_FALSE)
+ if(ALCdevice_ResetPlayback(device) == ALC_FALSE)
{
alcDestroyContext(ALContext);
ALContext = NULL;