From c953072a152e73fcdcc58bd6c836302dad6620b8 Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Tue, 22 Sep 2009 00:16:21 -0700 Subject: Fix reset condition check --- Alc/ALc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Alc/ALc.c') 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; -- cgit v1.2.3