diff options
Diffstat (limited to 'OpenAL32/alSource.c')
-rw-r--r-- | OpenAL32/alSource.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenAL32/alSource.c b/OpenAL32/alSource.c index 3ba4387f..dace22d6 100644 --- a/OpenAL32/alSource.c +++ b/OpenAL32/alSource.c @@ -791,7 +791,7 @@ static ALenum GetSourceiv(const ALsource *Source, ALCcontext *Context, ALenum na if((err=GetSourcedv(Source, Context, name, dvals)) != AL_NO_ERROR) return err; values[0] = (ALint)dvals[0]; - values[1] = (ALint)dvals[0]; + values[1] = (ALint)dvals[1]; break; case AL_POSITION: @@ -845,7 +845,7 @@ static ALenum GetSourcei64v(const ALsource *Source, ALCcontext *Context, ALenum if((err=GetSourcedv(Source, Context, name, dvals)) != AL_NO_ERROR) return err; values[0] = (ALint64)dvals[0]; - values[1] = (ALint64)dvals[0]; + values[1] = (ALint64)dvals[1]; break; case AL_POSITION: |