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

@@ -493,13 +493,11 @@ struct Imgui
{
m_allocator = _allocator;
#if BX_CONFIG_ALLOCATOR_CRT
if (NULL == _allocator)
{
static bx::CrtAllocator allocator;
static bx::DefaultAllocator allocator;
m_allocator = &allocator;
}
#endif // BX_CONFIG_ALLOCATOR_CRT
IMGUI_create(_fontSize, m_allocator);