Backends: GLUT: remove call to ImGui::NewFrame() from ImGui_ImplGLUT_NewFrame(). (#6337)

This commit is contained in:
Gereon V
2023-04-16 00:45:21 +02:00
committed by ocornut
parent 064153fca4
commit f304603e13
3 changed files with 6 additions and 3 deletions

View File

@ -107,6 +107,7 @@ void MainLoopStep()
// Start the Dear ImGui frame
ImGui_ImplOpenGL2_NewFrame();
ImGui_ImplGLUT_NewFrame();
ImGui::NewFrame();
// 1. Show the big demo window (Most of the sample code is in ImGui::ShowDemoWindow()! You can browse its code to learn more about Dear ImGui!).
if (show_demo_window)