aboutsummaryrefslogtreecommitdiffstats
path: root/OpenAL32/alSource.c
diff options
context:
space:
mode:
Diffstat (limited to 'OpenAL32/alSource.c')
-rw-r--r--OpenAL32/alSource.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenAL32/alSource.c b/OpenAL32/alSource.c
index 5217b563..e024c9cc 100644
--- a/OpenAL32/alSource.c
+++ b/OpenAL32/alSource.c
@@ -83,6 +83,7 @@ AL_API ALvoid AL_APIENTRY alGenSources(ALsizei n,ALuint *sources)
alDeleteSources(i, sources);
break;
}
+ InitSourceParams(source);
err = NewThunkEntry(&source->source);
if(err == AL_NO_ERROR)
@@ -98,7 +99,6 @@ AL_API ALvoid AL_APIENTRY alGenSources(ALsizei n,ALuint *sources)
break;
}
- InitSourceParams(source);
sources[i++] = source->source;
}
}