[*] Fix regressed bytebuffer scaling alg
This commit is contained in:
parent
049de14090
commit
cde973ba90
@ -216,7 +216,7 @@ namespace Aurora::Memory
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
auto newLength = AuMax(length, (this->allocSize / 4) * 3);
|
auto newLength = AuMax(length, AuPageRoundUp(this->allocSize + (this->allocSize / 3), 64ull));
|
||||||
|
|
||||||
if (auto pNext = ZRealloc(this->base, newLength))
|
if (auto pNext = ZRealloc(this->base, newLength))
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user