aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--OpenAL32/alBuffer.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenAL32/alBuffer.c b/OpenAL32/alBuffer.c
index d6d62153..784e8b74 100644
--- a/OpenAL32/alBuffer.c
+++ b/OpenAL32/alBuffer.c
@@ -313,8 +313,6 @@ AL_API ALvoid AL_APIENTRY alBufferData(ALuint buffer, ALenum format, const ALvoi
case UserFmtUByte:
case UserFmtShort:
case UserFmtUShort:
- case UserFmtInt:
- case UserFmtUInt:
case UserFmtFloat:
FrameSize = FrameSizeFromUserFmt(SrcChannels, SrcType);
CHECK_VALUE(Context, (size%FrameSize) == 0);
@@ -325,6 +323,8 @@ AL_API ALvoid AL_APIENTRY alBufferData(ALuint buffer, ALenum format, const ALvoi
al_throwerr(Context, err);
break;
+ case UserFmtInt:
+ case UserFmtUInt:
case UserFmtByte3:
case UserFmtUByte3:
case UserFmtDouble: