From d9d8319c22236ec8b3eebaa5bd68d51ca7677249 Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Fri, 6 Aug 2010 04:52:34 -0700 Subject: Effectslot's Effectstate should never be NULL --- Alc/ALc.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'Alc/ALc.c') diff --git a/Alc/ALc.c b/Alc/ALc.c index 257c2b0d..02de6ce0 100644 --- a/Alc/ALc.c +++ b/Alc/ALc.c @@ -1582,8 +1582,6 @@ ALC_API ALCcontext* ALC_APIENTRY alcCreateContext(ALCdevice *device, const ALCin for(pos = 0;pos < context->EffectSlotMap.size;pos++) { ALeffectslot *slot = context->EffectSlotMap.array[pos].value; - if(!slot->EffectState) - continue; if(ALEffect_DeviceUpdate(slot->EffectState, device) == AL_FALSE) { -- cgit v1.2.3