diff options
| author | Dentomologist <dentomologist@gmail.com> | 2025-02-02 13:02:58 -0800 |
|---|---|---|
| committer | Dentomologist <dentomologist@gmail.com> | 2025-02-02 14:14:56 -0800 |
| commit | f94e6cb73e1438eafb8219548d561fa69534f7ae (patch) | |
| tree | 958a65c3638dbe84b603a1435228629aeaf2bf3c /Source/Core/VideoCommon/CommandProcessor.cpp | |
| parent | 84d28a4272f53df30550b43aaafafde1a520aeb0 (diff) | |
PerformanceMetrics: Call ImGui::End() unconditionally
Move ImGui::End() calls out of if(ImGui::Begin()) blocks.
Quoting from ImGui::Begin's function comment in imgui.cpp:
"You always need to call ImGui::End() even if false is returned."
In practice this didn't cause problems because the windows don't have
title bars and thus can't be collapsed, and so the block containing
::End would always run, but let's do it the right way.
Diffstat (limited to 'Source/Core/VideoCommon/CommandProcessor.cpp')
0 files changed, 0 insertions, 0 deletions
