mirror of
https://github.com/Drezil/imgui.git
synced 2024-12-18 06:06:35 +00:00
Fixed: warning: declaration shadows a local variable
This commit is contained in:
parent
d24474ea82
commit
b7b3df3c81
@ -10488,9 +10488,9 @@ void ImGui::ShowTestWindow(bool* opened)
|
|||||||
ImGui::End();
|
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("ImGui %s", ImGui::GetVersion());
|
||||||
ImGui::Text("Application average %.3f ms/frame (%.1f FPS)", 1000.0f / ImGui::GetIO().Framerate, ImGui::GetIO().Framerate);
|
ImGui::Text("Application average %.3f ms/frame (%.1f FPS)", 1000.0f / ImGui::GetIO().Framerate, ImGui::GetIO().Framerate);
|
||||||
|
Loading…
Reference in New Issue
Block a user