Check the effect slot list size only when there's no free entries
commita6734c7a91b1e2f2ef19ba163ceb2cb14571a9dd
authorChris Robinson <chris.kcat@gmail.com>
Fri, 14 Sep 2018 21:53:35 +0000 (14 14:53 -0700)
committerChris Robinson <chris.kcat@gmail.com>
Fri, 14 Sep 2018 21:53:35 +0000 (14 14:53 -0700)
tree45fb3eb2638a69a2c0f72e91d54453ae5899a1da
parentdb452a19dafd30b72255529911087edfec0d43b7
Check the effect slot list size only when there's no free entries

The list can contain (reuable) NULL entries, so the max - current_size doesn't
indicate how many can be allocated.
OpenAL32/alAuxEffectSlot.c