diff options
author | Chris Robinson <[email protected]> | 2012-08-20 14:50:43 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2012-08-20 14:50:43 -0700 |
commit | 6a3619c40f0f20f82c155f8c9d7db533b7dbae6c (patch) | |
tree | e42b3d98928396f4221f2de13b1cdc3c19949fa0 /OpenAL32/alSource.c | |
parent | 50fa9a44be948e11965cc1c79a037e1703360565 (diff) |
Fix a parameter name
Diffstat (limited to 'OpenAL32/alSource.c')
-rw-r--r-- | OpenAL32/alSource.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/OpenAL32/alSource.c b/OpenAL32/alSource.c index 5324242a..f10bdaf5 100644 --- a/OpenAL32/alSource.c +++ b/OpenAL32/alSource.c @@ -1358,7 +1358,7 @@ AL_API void AL_APIENTRY alGetSourceiv(ALuint source, ALenum param, ALint *values } -AL_API void AL_APIENTRY alGetSourcei64SOFT(ALuint source, ALenum param, ALint64SOFT *values) +AL_API void AL_APIENTRY alGetSourcei64SOFT(ALuint source, ALenum param, ALint64SOFT *value) { ALCcontext *Context; ALsource *Source; @@ -1371,7 +1371,7 @@ AL_API void AL_APIENTRY alGetSourcei64SOFT(ALuint source, ALenum param, ALint64S { if((Source=LookupSource(Context, source)) == NULL) al_throwerr(Context, AL_INVALID_NAME); - CHECK_VALUE(Context, values); + CHECK_VALUE(Context, value); switch(param) { case AL_MAX_DISTANCE: @@ -1395,7 +1395,7 @@ AL_API void AL_APIENTRY alGetSourcei64SOFT(ALuint source, ALenum param, ALint64S case AL_DOPPLER_FACTOR: case AL_DIRECT_CHANNELS_SOFT: case AL_DISTANCE_MODEL: - if((err=GetSourcei64v(Source, Context, param, values)) != AL_NO_ERROR) + if((err=GetSourcei64v(Source, Context, param, value)) != AL_NO_ERROR) al_throwerr(Context, err); break; |