aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/ALc.c
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2009-09-22 00:16:21 -0700
committerChris Robinson <[email protected]>2009-09-22 00:16:21 -0700
commitc953072a152e73fcdcc58bd6c836302dad6620b8 (patch)
tree4fbebcc899ef24a98eb158de7ddcc80862991fb6 /Alc/ALc.c
parent93f3e9357ba22017ef8e42bddc129a21a8eb3fcd (diff)
Fix reset condition check
Diffstat (limited to 'Alc/ALc.c')
-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;