From 024993adf96f34dd9a176d594d2079242b68b94a Mon Sep 17 00:00:00 2001 From: ocornut Date: Thu, 20 Aug 2020 11:25:05 +0200 Subject: [PATCH] Revert leftovers from 4c201994d421089493a7a996978e8239ad619a20 --- examples/example_win32_directx11/main.cpp | 5 ----- 1 file changed, 5 deletions(-) diff --git a/examples/example_win32_directx11/main.cpp b/examples/example_win32_directx11/main.cpp index d4920106..310dc04a 100644 --- a/examples/example_win32_directx11/main.cpp +++ b/examples/example_win32_directx11/main.cpp @@ -116,11 +116,6 @@ int main(int, char**) ImGui::Checkbox("Another Window", &show_another_window); ImGui::SliderFloat("float", &f, 0.0f, 1.0f); // Edit 1 float using a slider from 0.0f to 1.0f - - static float f2 = 0.0f; - ImGui::DragFloat("f2 limit", &f2, 1.0f, 0.0f, 100.0f, NULL, ImGuiSliderFlags_ClampOnInput); - ImGui::DragFloat("f2", &f2, 1.0f, 0.0f, 0.0f, NULL, ImGuiSliderFlags_ClampOnInput); - ImGui::ColorEdit3("clear color", (float*)&clear_color); // Edit 3 floats representing a color if (ImGui::Button("Button")) // Buttons return true when clicked (most widgets return true when edited/activated)