Remove unnecessary assert
This commit is contained in:
parent
2953daebf5
commit
af5fb1d535
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user