summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/CommandProcessor.cpp
diff options
context:
space:
mode:
authorDentomologist <dentomologist@gmail.com>2025-02-02 13:02:58 -0800
committerDentomologist <dentomologist@gmail.com>2025-02-02 14:14:56 -0800
commitf94e6cb73e1438eafb8219548d561fa69534f7ae (patch)
tree958a65c3638dbe84b603a1435228629aeaf2bf3c /Source/Core/VideoCommon/CommandProcessor.cpp
parent84d28a4272f53df30550b43aaafafde1a520aeb0 (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