aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/ALc.c
diff options
context:
space:
mode:
Diffstat (limited to 'Alc/ALc.c')
-rw-r--r--Alc/ALc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Alc/ALc.c b/Alc/ALc.c
index 0c448d55..ed0019be 100644
--- a/Alc/ALc.c
+++ b/Alc/ALc.c
@@ -1470,7 +1470,7 @@ void SetDefaultWFXChannelOrder(ALCdevice *device)
{
ALuint i;
- for(i = 0;i < MaxChannels;i++)
+ for(i = 0;i < MAX_OUTPUT_CHANNELS;i++)
device->ChannelName[i] = InvalidChannel;
switch(device->FmtChans)
@@ -1534,7 +1534,7 @@ void SetDefaultChannelOrder(ALCdevice *device)
{
ALuint i;
- for(i = 0;i < MaxChannels;i++)
+ for(i = 0;i < MAX_OUTPUT_CHANNELS;i++)
device->ChannelName[i] = InvalidChannel;
switch(device->FmtChans)