diff options
author | Chris Robinson <[email protected]> | 2010-03-17 19:04:02 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2010-03-17 19:04:02 -0700 |
commit | af5fb1d5351859fd23662b82e404565122770caa (patch) | |
tree | e62ac7c25297e98a6f0ac249d510bdeb54f5ce44 /OpenAL32 | |
parent | 2953daebf5c40b6484f0fd320c575c6d959f5793 (diff) |
Remove unnecessary assert
Diffstat (limited to 'OpenAL32')
-rw-r--r-- | OpenAL32/alBuffer.c | 2 |
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); |