mirror of
https://github.com/ocornut/imgui.git
synced 2026-01-21 01:44:21 +00:00
Fixed: warning: declaration shadows a local variable
This commit is contained in:
parent
d24474ea82
commit
b7b3df3c81
1 changed files with 2 additions and 2 deletions
|
|
@ -10488,9 +10488,9 @@ void ImGui::ShowTestWindow(bool* opened)
|
|||
ImGui::End();
|
||||
}
|
||||
|
||||
void ImGui::ShowMetricsWindow(bool* opened)
|
||||
void ImGui::ShowMetricsWindow(bool* opened1)
|
||||
{
|
||||
if (ImGui::Begin("ImGui Metrics", opened))
|
||||
if (ImGui::Begin("ImGui Metrics", opened1))
|
||||
{
|
||||
ImGui::Text("ImGui %s", ImGui::GetVersion());
|
||||
ImGui::Text("Application average %.3f ms/frame (%.1f FPS)", 1000.0f / ImGui::GetIO().Framerate, ImGui::GetIO().Framerate);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue