Remove unnecessary assert

This commit is contained in:
Chris Robinson 2010-03-17 19:04:02 -07:00
parent 2953daebf5
commit af5fb1d535

View File

@ -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);