Fix reset condition check
This commit is contained in:
parent
93f3e9357b
commit
c953072a15
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user