mirror of
https://github.com/isledecomp/isle-portable.git
synced 2026-01-18 21:31:16 +00:00
Update LEGO1/omni/src/audio/mxsoundmanager.cpp
This commit is contained in:
parent
f78d3ffad8
commit
44168ec934
@ -149,7 +149,6 @@ void MxSoundManager::AudioStreamCallback(
|
|||||||
{
|
{
|
||||||
static vector<MxU8> g_buffer;
|
static vector<MxU8> g_buffer;
|
||||||
if (p_additionalAmount > g_buffer.size()) {
|
if (p_additionalAmount > g_buffer.size()) {
|
||||||
// We resize and don't reserve memory to avoid an AddressSanitizerContainerOverflow asan error
|
|
||||||
g_buffer.resize(p_additionalAmount);
|
g_buffer.resize(p_additionalAmount);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user