Skip to content

Commit

Permalink
RMG: fix assertion in imgui in debug builds
Browse files Browse the repository at this point in the history
  • Loading branch information
Rosalie241 committed May 24, 2024
1 parent 6acb03e commit 0c2f7a1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Source/RMG/OnScreenDisplay.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -174,10 +174,10 @@ void OnScreenDisplayRender(void)
ImGui::Text("%s", l_Message.c_str());
ImGui::End();

ImGui::Render();

ImGui::PopStyleColor(2);

ImGui::Render();

ImGui_ImplOpenGL3_RenderDrawData(ImGui::GetDrawData());
}

Expand Down

0 comments on commit 0c2f7a1

Please sign in to comment.