From 44940933a0c7e9336fb9857aea7eddae7b1c6d82 Mon Sep 17 00:00:00 2001 From: halx99 Date: Tue, 8 Sep 2020 16:31:11 +0800 Subject: [PATCH] Remove TODO --- extensions/ImGuiEXT/CCImGuiEXT.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/extensions/ImGuiEXT/CCImGuiEXT.cpp b/extensions/ImGuiEXT/CCImGuiEXT.cpp index 6ecc02b445..bf5eff4710 100644 --- a/extensions/ImGuiEXT/CCImGuiEXT.cpp +++ b/extensions/ImGuiEXT/CCImGuiEXT.cpp @@ -573,8 +573,7 @@ void ImGuiEXT::mergeFontGlyphs(ImFont* dst, ImFont* src, ImWchar start, ImWchar const auto g = src->FindGlyphNoFallback(i); if (g) { - // TODO - // dst->AddGlyph(g->Codepoint, g->X0, g->Y0, g->X1, g->Y1, g->U0, g->V0, g->U1, g->V1, g->AdvanceX); + dst->AddGlyph(nullptr, g->Codepoint, g->X0, g->Y0, g->X1, g->Y1, g->U0, g->V0, g->U1, g->V1, g->AdvanceX); } } dst->BuildLookupTable();