aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/ALc.c
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2010-08-06 04:52:34 -0700
committerChris Robinson <[email protected]>2010-08-06 04:52:34 -0700
commitd9d8319c22236ec8b3eebaa5bd68d51ca7677249 (patch)
tree345fba7518313adbe7318feab08764aaf7750b20 /Alc/ALc.c
parent56b094767bb9c797f4b0d1a456d996a0c869c089 (diff)
Effectslot's Effectstate should never be NULL
Diffstat (limited to 'Alc/ALc.c')
-rw-r--r--Alc/ALc.c2
1 files changed, 0 insertions, 2 deletions
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)
{