mirror of
https://github.com/scratchfoundation/bgfx.git
synced 2024-11-28 18:45:54 -05:00
Merge pull request #529 from v3n/master
fixed segfault in imgui with default allocator
This commit is contained in:
commit
8a1df57bfb
1 changed files with 1 additions and 1 deletions
|
@ -466,7 +466,7 @@ struct Imgui
|
||||||
_size = sizeof(s_droidSansTtf);
|
_size = sizeof(s_droidSansTtf);
|
||||||
}
|
}
|
||||||
|
|
||||||
IMGUI_create(_data, _size, _fontSize, _allocator);
|
IMGUI_create(_data, _size, _fontSize, m_allocator);
|
||||||
|
|
||||||
m_nvg = nvgCreate(1, m_view);
|
m_nvg = nvgCreate(1, m_view);
|
||||||
nvgCreateFontMem(m_nvg, "default", (unsigned char*)_data, INT32_MAX, 0);
|
nvgCreateFontMem(m_nvg, "default", (unsigned char*)_data, INT32_MAX, 0);
|
||||||
|
|
Loading…
Reference in a new issue