mirror of https://github.com/PCSX2/pcsx2.git
Frontend-imgui: Fix scope of the variable can be reduced warning.
Codacy.
This commit is contained in:
parent
314143db7a
commit
987fdd32fb
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue