diff --git a/SakuraVNE/src/Application.cpp b/SakuraVNE/src/Application.cpp index 1be6f54..286c6af 100644 --- a/SakuraVNE/src/Application.cpp +++ b/SakuraVNE/src/Application.cpp @@ -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