Selaa lähdekoodia

Demo: Fix collateral damage of 54a60aa

omar 6 vuotta sitten
vanhempi
commit
95dcc534ed
1 muutettua tiedostoa jossa 1 lisäystä ja 0 poistoa
  1. 1 0
      imgui_demo.cpp

+ 1 - 0
imgui_demo.cpp

@@ -3835,6 +3835,7 @@ static void ShowExampleAppCustomRendering(bool* p_open)
         if (adding_preview)
         if (adding_preview)
             points.pop_back();
             points.pop_back();
     }
     }
+    ImGui::End();
 }
 }
 
 
 //-----------------------------------------------------------------------------
 //-----------------------------------------------------------------------------