mirror of
https://github.com/bkaradzic/bgfx.git
synced 2026-02-19 13:32:59 +01:00
Merge pull request #529 from v3n/master
fixed segfault in imgui with default allocator
This commit is contained in:
@@ -466,7 +466,7 @@ struct Imgui
|
||||
_size = sizeof(s_droidSansTtf);
|
||||
}
|
||||
|
||||
IMGUI_create(_data, _size, _fontSize, _allocator);
|
||||
IMGUI_create(_data, _size, _fontSize, m_allocator);
|
||||
|
||||
m_nvg = nvgCreate(1, m_view);
|
||||
nvgCreateFontMem(m_nvg, "default", (unsigned char*)_data, INT32_MAX, 0);
|
||||
|
||||
Reference in New Issue
Block a user