From 5893fdf20bff4824f7157c69387353ad797bd638 Mon Sep 17 00:00:00 2001 From: Jonathan Howard Date: Wed, 30 Sep 2015 20:20:04 -0400 Subject: [PATCH] fixed segfault in imgui with default allocator --- examples/common/imgui/imgui.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/common/imgui/imgui.cpp b/examples/common/imgui/imgui.cpp index e5219ca1..073191fd 100644 --- a/examples/common/imgui/imgui.cpp +++ b/examples/common/imgui/imgui.cpp @@ -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);