From a5eeba74c1f092633ef6533dfec420fdc4ccf027 Mon Sep 17 00:00:00 2001 From: Roland Conybeare Date: Tue, 11 Nov 2025 16:33:27 -0500 Subject: [PATCH] xo-imgui: ex4a: tidy --- xo-imgui/example/ex4a/VulkanApp.cpp | 4 ++-- xo-imgui/example/ex4a/VulkanApp.hpp | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/xo-imgui/example/ex4a/VulkanApp.cpp b/xo-imgui/example/ex4a/VulkanApp.cpp index ed97f3a5..b6cdf70f 100644 --- a/xo-imgui/example/ex4a/VulkanApp.cpp +++ b/xo-imgui/example/ex4a/VulkanApp.cpp @@ -473,12 +473,12 @@ MinimalImGuiVulkan::main_loop() { SDL_Event event; - while (!quit) { + while (!quit_flag_) { while (SDL_PollEvent(&event)) { ImGui_ImplSDL2_ProcessEvent(&event); if (event.type == SDL_QUIT) { - quit = true; + this->quit_flag_ = true; } } diff --git a/xo-imgui/example/ex4a/VulkanApp.hpp b/xo-imgui/example/ex4a/VulkanApp.hpp index fa6a576c..c820be2a 100644 --- a/xo-imgui/example/ex4a/VulkanApp.hpp +++ b/xo-imgui/example/ex4a/VulkanApp.hpp @@ -284,5 +284,5 @@ private: * until swapchain in consistent state. */ bool framebuffer_resized_flag_ = false; - bool quit = false; + bool quit_flag_ = false; }; /*MinimalImGuiVulkan*/