aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2010-03-17 19:04:02 -0700
committerChris Robinson <[email protected]>2010-03-17 19:04:02 -0700
commitaf5fb1d5351859fd23662b82e404565122770caa (patch)
treee62ac7c25297e98a6f0ac249d510bdeb54f5ce44
parent2953daebf5c40b6484f0fd320c575c6d959f5793 (diff)
Remove unnecessary assert
-rw-r--r--OpenAL32/alBuffer.c2
1 files changed, 0 insertions, 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);