Fix reset condition check

This commit is contained in:
Chris Robinson 2009-09-22 00:16:21 -07:00
parent 93f3e9357b
commit c953072a15

View File

@ -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;