Examples: Updated all examples application to enable ImGuiConfigFlags_NavEnableKeyboard and ImGuiConfigFlags_NavEnableGamepad by default.

This commit is contained in:
ocornut
2023-03-10 18:35:03 +01:00
parent 2bb9e35a48
commit bb224c8aa1
22 changed files with 61 additions and 59 deletions

View File

@ -236,7 +236,7 @@ void MainLoopStep()
ImGui::SameLine();
ImGui::Text("counter = %d", counter);
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 / io.Framerate, io.Framerate);
ImGui::End();
}