AngryAustrium source error

Posts 1–4 of 4 · Page 1 of 1
Compile it in Release mode x86 and not debug mode.
maybe learn c++
Sorry for the late response, but this error has to do with pushing fonts in ImGui. You need a PopFont() for every PushFont() you have. Also a side note, if you have a PushFont() outside your ImGui::Begin() you have that corresponding PopFont() after your ImGui::End(). If your PushFont() is inside ImGui::Begin(), make sure that corresponding PopFont() is before your ImGui::End().

Example:
Good:
Code:
ImGui::PushFont() // 1
ImGui::Begin()
    ImGui::PushFont() // 2
    ImGui::PopFont() // 2
ImGui::End()
ImGui::PopFont() // 1
Bad:
Code:
ImGui::PushFont() // 1
ImGui::Begin()
    ImGui::PopFont() // 1
    ImGui::PushFont() // 2
    ImGui::PopFont() // 2
ImGui::End()
Posts 1–4 of 4 · Page 1 of 1

Post a Reply

Similar Threads

Tags for this Thread

None

Need help?