quit button for shutting down the application

This commit is contained in:
2026-03-04 20:10:35 +01:00
parent 6d682afe24
commit 62214f0e81

View File

@@ -129,6 +129,11 @@ void Application::Run() {
ImGui::Text("counter = %d", counter);
ImGui::Text("Application avg %.3f ms/frame (%.1f FPS)", 1000.0f / io.Framerate, io.Framerate);
if (ImGui::Button("Quit")) {
SetRunningState(false);
}
ImGui::End();
// Rendering