diff options
author | Chris Robinson <[email protected]> | 2010-11-29 19:48:18 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2010-11-29 19:48:18 -0800 |
commit | 0cf32e29465830e7d79eb3d40bb85e328d43625a (patch) | |
tree | 6c54363145fbb3a84eb0ebef99a56460a2292da6 /OpenAL32/alBuffer.c | |
parent | 693ab4d8bc34cdc5a394eca45b2648f21613c917 (diff) |
Reorder some parameters for consistency
Diffstat (limited to 'OpenAL32/alBuffer.c')
-rw-r--r-- | OpenAL32/alBuffer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenAL32/alBuffer.c b/OpenAL32/alBuffer.c index 27997e40..b6ded027 100644 --- a/OpenAL32/alBuffer.c +++ b/OpenAL32/alBuffer.c @@ -704,7 +704,7 @@ AL_API void AL_APIENTRY alBufferiv(ALuint buffer, ALenum eParam, const ALint* pl else { ALint maxlen = ALBuf->size / - FrameSizeFromFmt(ALBuf->FmtType, ALBuf->FmtChannels); + FrameSizeFromFmt(ALBuf->FmtChannels, ALBuf->FmtType); if(plValues[0] > maxlen || plValues[1] > maxlen) alSetError(pContext, AL_INVALID_VALUE); else |