Merge pull request #529 from v3n/master
fixed segfault in imgui with default allocator
This commit is contained in:
commit
8a1df57bfb
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user