From 4d42760c0b52d5c8f6b1618884baead3f2eff641 Mon Sep 17 00:00:00 2001 From: ocornut Date: Mon, 6 Jul 2015 22:10:44 -0600 Subject: [PATCH] Metrics window: "Show clipping rectangles when hovering ImDrawList" enabled by default --- imgui.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/imgui.cpp b/imgui.cpp index 9dad9b22..8051df70 100644 --- a/imgui.cpp +++ b/imgui.cpp @@ -12219,7 +12219,7 @@ void ImGui::ShowMetricsWindow(bool* opened) ImGui::Text("Application average %.3f ms/frame (%.1f FPS)", 1000.0f / ImGui::GetIO().Framerate, ImGui::GetIO().Framerate); ImGui::Text("%d vertices, %d triangles", ImGui::GetIO().MetricsRenderVertices, ImGui::GetIO().MetricsRenderIndices / 3); ImGui::Text("%d allocations", ImGui::GetIO().MetricsAllocs); - static bool show_clip_rects = false; + static bool show_clip_rects = true; ImGui::Checkbox("Show clipping rectangles when hovering ImDrawList", &show_clip_rects); ImGui::Separator();