mirror of
https://github.com/PCSX2/pcsx2.git
synced 2026-11-17 03:24:19 +01:00
Frontend-imgui: Fix scope of the variable can be reduced warning.
Codacy.
This commit is contained in:
1 parent
314143db7a
commit
987fdd32fb
1 file changed
+1
-1
@@ -112,7 +112,6 @@ void ImGuiManager::DrawPerformanceOverlay()
|
||||
ImDrawList* dl = ImGui::GetBackgroundDrawList();
|
||||
std::string text;
|
||||
ImVec2 text_size;
|
||||
bool first = true;
|
||||
|
||||
text.reserve(128);
|
||||
|
||||
@@ -132,6 +131,7 @@ void ImGuiManager::DrawPerformanceOverlay()
|
||||
|
||||
if (!paused)
|
||||
{
|
||||
bool first = true;
|
||||
const float speed = PerformanceMetrics::GetSpeed();
|
||||
if (GSConfig.OsdShowFPS)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user