mirror of
https://github.com/bkaradzic/bgfx.git
synced 2026-02-17 20:52:36 +01:00
Added bx::Location, and removed allocator macros.
This commit is contained in:
@@ -507,13 +507,13 @@ static OcornutImguiContext s_ctx;
|
||||
static void* memAlloc(size_t _size, void* _userData)
|
||||
{
|
||||
BX_UNUSED(_userData);
|
||||
return BX_ALLOC(s_ctx.m_allocator, _size);
|
||||
return bx::alloc(s_ctx.m_allocator, _size);
|
||||
}
|
||||
|
||||
static void memFree(void* _ptr, void* _userData)
|
||||
{
|
||||
BX_UNUSED(_userData);
|
||||
BX_FREE(s_ctx.m_allocator, _ptr);
|
||||
bx::free(s_ctx.m_allocator, _ptr);
|
||||
}
|
||||
|
||||
void imguiCreate(float _fontSize, bx::AllocatorI* _allocator)
|
||||
|
||||
Reference in New Issue
Block a user