From 0cf32e29465830e7d79eb3d40bb85e328d43625a Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Mon, 29 Nov 2010 19:48:18 -0800 Subject: Reorder some parameters for consistency --- OpenAL32/alBuffer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'OpenAL32/alBuffer.c') 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 -- cgit v1.2.3