aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2008-01-15 15:37:54 -0800
committerChris Robinson <[email protected]>2008-01-15 15:37:54 -0800
commit7edc576e9ce9adc62560d9f8c87488747671ce77 (patch)
tree246b9bee462e847c2c832eb0106bd3582184b053
parent0041a095760450fa866dd0dede9e9447016ad2dd (diff)
Fix some copy/paste errors
-rw-r--r--OpenAL32/alAuxEffectSlot.c2
-rw-r--r--OpenAL32/alEffect.c2
-rw-r--r--OpenAL32/alFilter.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/OpenAL32/alAuxEffectSlot.c b/OpenAL32/alAuxEffectSlot.c
index 282b8030..2b77e063 100644
--- a/OpenAL32/alAuxEffectSlot.c
+++ b/OpenAL32/alAuxEffectSlot.c
@@ -47,7 +47,7 @@ AL_API ALvoid AL_APIENTRY alGenAuxiliaryEffectSlots(ALsizei n, ALuint *effectslo
/* NOTE: We only support one slot currently */
if(n == 1 && g_AuxiliaryEffectSlotCount == 0)
{
- // Check that enough memory has been allocted in the 'sources' array for n Sources
+ // Check that enough memory has been allocted in the 'effectslots' array for n Effect Slots
if (!IsBadWritePtr((void*)effectslots, n * sizeof(ALuint)))
{
ALeffectslot **list = &g_AuxiliaryEffectSlotList;
diff --git a/OpenAL32/alEffect.c b/OpenAL32/alEffect.c
index 97778f9e..9c61adab 100644
--- a/OpenAL32/alEffect.c
+++ b/OpenAL32/alEffect.c
@@ -46,7 +46,7 @@ AL_API ALvoid AL_APIENTRY alGenEffects(ALsizei n, ALuint *effects)
if (n > 0)
{
- // Check that enough memory has been allocted in the 'sources' array for n Sources
+ // Check that enough memory has been allocted in the 'effects' array for n Effects
if (!IsBadWritePtr((void*)effects, n * sizeof(ALuint)))
{
ALeffect **list = &g_EffectList;
diff --git a/OpenAL32/alFilter.c b/OpenAL32/alFilter.c
index 0753d799..14247fc3 100644
--- a/OpenAL32/alFilter.c
+++ b/OpenAL32/alFilter.c
@@ -46,7 +46,7 @@ AL_API ALvoid AL_APIENTRY alGenFilters(ALsizei n, ALuint *filters)
if (n > 0)
{
- // Check that enough memory has been allocted in the 'sources' array for n Sources
+ // Check that enough memory has been allocted in the 'filters' array for n Filters
if (!IsBadWritePtr((void*)filters, n * sizeof(ALuint)))
{
ALfilter **list = &g_FilterList;