This commit is contained in:
Branimir Karadžić
2017-06-10 22:31:59 -07:00
parent b6ccccd4c5
commit 6a6c5e3af9
8 changed files with 10 additions and 21 deletions

View File

@@ -2596,7 +2596,7 @@ namespace bgfx
}
else
{
bx::CrtAllocator allocator;
bx::DefaultAllocator allocator;
g_allocator =
s_allocatorStub = BX_NEW(&allocator, AllocatorStub);
}
@@ -2676,7 +2676,7 @@ error:
if (NULL != s_allocatorStub)
{
bx::CrtAllocator allocator;
bx::DefaultAllocator allocator;
BX_DELETE(&allocator, s_allocatorStub);
s_allocatorStub = NULL;
}
@@ -2716,7 +2716,7 @@ error:
if (NULL != s_allocatorStub)
{
bx::CrtAllocator allocator;
bx::DefaultAllocator allocator;
BX_DELETE(&allocator, s_allocatorStub);
s_allocatorStub = NULL;
}