From 14dacf267bfc57064156945a21ac72715dccb67f Mon Sep 17 00:00:00 2001 From: Aiekick Date: Mon, 21 Dec 2020 23:30:13 +0100 Subject: [PATCH] remove unused --- imgui_demo.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/imgui_demo.cpp b/imgui_demo.cpp index d4aaf5a2114e..ccd6ee3498c3 100644 --- a/imgui_demo.cpp +++ b/imgui_demo.cpp @@ -7183,7 +7183,6 @@ static void ShowExampleAppCustomRendering(bool* p_open) ImVec2 canvas_p1 = ImVec2(canvas_p0.x + canvas_sz.x, canvas_p0.y + canvas_sz.y); // Draw border and background color - ImGuiIO& io = ImGui::GetIO(); ImDrawList* draw_list = ImGui::GetWindowDrawList(); draw_list->AddRectFilled(canvas_p0, canvas_p1, IM_COL32(50, 50, 50, 255)); draw_list->AddRect(canvas_p0, canvas_p1, IM_COL32(255, 255, 255, 255));