ebiten-imgui icon indicating copy to clipboard operation
ebiten-imgui copied to clipboard

renderer.New method requires an parameter of type *imgui.FontAtlas. How do I create this *imgui.FontAtlas object and assign it to renderer.New method?

Open xtrn143 opened this issue 1 year ago • 0 comments

renderer.New method requires an parameter of type *imgui.FontAtlas. How do I create this *imgui.FontAtlas object and assign it to renderer.New method? I don't know how to create imgui.FontAtlas, imgui.CurrentIO().Fonts() returns the imgui.FontAtlas object, but I can't call imgui.CurrentIO() before, what do I do?

xtrn143 avatar Apr 26 '23 15:04 xtrn143