diff options
author | Chris Robinson <[email protected]> | 2012-04-19 22:14:02 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2012-04-19 22:14:02 -0700 |
commit | 08bd5e8b37f63711a5d4d40418188e21c603f856 (patch) | |
tree | 913c3f6472a8bf2cd262fe2c5744c740e7f11ae6 /OpenAL32/alSource.c | |
parent | 125b743e5cd9b37420e4b0d57e0c3f6502784f2f (diff) |
Fix comment and rename the buffer's self-id
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 2ec4ce9c..1e3d09c5 100644 --- a/OpenAL32/alSource.c +++ b/OpenAL32/alSource.c @@ -1145,7 +1145,7 @@ AL_API ALvoid AL_APIENTRY alGetSourcei(ALuint source, ALenum param, ALint *value } } *value = ((BufferList && BufferList->buffer) ? - BufferList->buffer->buffer : 0); + BufferList->buffer->id : 0); UnlockContext(Context); break; @@ -1763,7 +1763,7 @@ AL_API ALvoid AL_APIENTRY alSourceUnqueueBuffers(ALuint source, ALsizei n, ALuin if(BufferList->buffer) { // Record name of buffer - buffers[i] = BufferList->buffer->buffer; + buffers[i] = BufferList->buffer->id; // Decrement buffer reference counter DecrementRef(&BufferList->buffer->ref); } |