aboutsummaryrefslogtreecommitdiffstats
path: root/OpenAL32/alSource.c
diff options
context:
space:
mode:
Diffstat (limited to 'OpenAL32/alSource.c')
-rw-r--r--OpenAL32/alSource.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/OpenAL32/alSource.c b/OpenAL32/alSource.c
index acccd0be..1a1d696f 100644
--- a/OpenAL32/alSource.c
+++ b/OpenAL32/alSource.c
@@ -2347,11 +2347,11 @@ ALvoid SetSourceState(ALsource *Source, ALCcontext *Context, ALenum state)
for(j = 0;j < MAX_INPUT_CHANNELS;j++)
{
for(k = 0;k < SRC_HISTORY_LENGTH;k++)
- src->Direct.Mix.Hrtf.State.History[j][k] = 0.0f;
+ src->Direct.Mix.Hrtf.State[j].History[k] = 0.0f;
for(k = 0;k < HRIR_LENGTH;k++)
{
- src->Direct.Mix.Hrtf.State.Values[j][k][0] = 0.0f;
- src->Direct.Mix.Hrtf.State.Values[j][k][1] = 0.0f;
+ src->Direct.Mix.Hrtf.State[j].Values[k][0] = 0.0f;
+ src->Direct.Mix.Hrtf.State[j].Values[k][1] = 0.0f;
}
}
for(i = 0;i < device->NumAuxSends;i++)