From af5fb1d5351859fd23662b82e404565122770caa Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Wed, 17 Mar 2010 19:04:02 -0700 Subject: Remove unnecessary assert --- OpenAL32/alBuffer.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/OpenAL32/alBuffer.c b/OpenAL32/alBuffer.c index b1f21b3e..b7650ec2 100644 --- a/OpenAL32/alBuffer.c +++ b/OpenAL32/alBuffer.c @@ -321,8 +321,6 @@ ALAPI ALvoid ALAPIENTRY alBufferData(ALuint buffer,ALenum format,const ALvoid *d ((format==AL_FORMAT_REAR16) ? 2 : 4)); - assert(aluBytesFromFormat(NewFormat) == 2); - if((size%(OrigBytes*2)) != 0) { alSetError(Context, AL_INVALID_VALUE); -- cgit v1.2.3