ImGUI | Не ставится шрифт
Кусок кода:
ImGuiIO& io = ImGui::GetIO();
ImGui_ImplDX9_NewFrame();
ImGui_ImplWin32_NewFrame();
io.Fonts->AddFontFromFileTTF("C:\\Windows\\Fonts\\unispace bd.ttf", 14);
Выдает ошибку:
io.Fonts->IsBuilt() && "Font atlas not built! It is generally built by the renderer backend. Missing call to renderer _NewFrame() function? e.g. ImGui_ImplOpenGL3_NewFrame()."
Как ее исправть?