xo-imgui: ex4a: tidy

This commit is contained in:
Roland Conybeare 2025-11-11 16:33:27 -05:00
commit a5eeba74c1
2 changed files with 3 additions and 3 deletions

View file

@ -473,12 +473,12 @@ MinimalImGuiVulkan::main_loop()
{ {
SDL_Event event; SDL_Event event;
while (!quit) { while (!quit_flag_) {
while (SDL_PollEvent(&event)) { while (SDL_PollEvent(&event)) {
ImGui_ImplSDL2_ProcessEvent(&event); ImGui_ImplSDL2_ProcessEvent(&event);
if (event.type == SDL_QUIT) { if (event.type == SDL_QUIT) {
quit = true; this->quit_flag_ = true;
} }
} }

View file

@ -284,5 +284,5 @@ private:
* until swapchain in consistent state. * until swapchain in consistent state.
*/ */
bool framebuffer_resized_flag_ = false; bool framebuffer_resized_flag_ = false;
bool quit = false; bool quit_flag_ = false;
}; /*MinimalImGuiVulkan*/ }; /*MinimalImGuiVulkan*/