Clear the buffer from X-RAM before updating its size
This commit is contained in:
parent
9d296a9c75
commit
b77a556d7b
@ -631,6 +631,9 @@ void LoadData(ALCcontext *context, ALbuffer *ALBuf, ALsizei freq, ALuint size,
|
||||
}
|
||||
newdata.swap(ALBuf->mData);
|
||||
}
|
||||
#ifdef ALSOFT_EAX
|
||||
eax_x_ram_clear(*context->mALDevice, *ALBuf);
|
||||
#endif
|
||||
|
||||
if(SrcType == UserFmtIMA4)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user