facepalm of the year
- Typo fix - This check leads to forever relocating memory if size never exceeds capacity!
This commit is contained in:
@@ -906,7 +906,7 @@ namespace rsx
|
|||||||
|
|
||||||
void reserve(u32 size)
|
void reserve(u32 size)
|
||||||
{
|
{
|
||||||
if (_capacity > size)
|
if (_capacity >= size)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
if (_data)
|
if (_data)
|
||||||
|
|||||||
Reference in New Issue
Block a user