From fc26a1913c44eb9b8ac6d3dddd956282113c8b2d Mon Sep 17 00:00:00 2001 From: Giulio Eulisse <10544+ktf@users.noreply.github.com> Date: Mon, 19 Apr 2021 13:47:05 +0200 Subject: [PATCH] Drop usage of obsolete API (#22) --- DebugGUI/src/imgui_impl_glfw_gl3.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/DebugGUI/src/imgui_impl_glfw_gl3.cpp b/DebugGUI/src/imgui_impl_glfw_gl3.cpp index 6d0af96..cf0afee 100644 --- a/DebugGUI/src/imgui_impl_glfw_gl3.cpp +++ b/DebugGUI/src/imgui_impl_glfw_gl3.cpp @@ -330,7 +330,6 @@ bool ImGui_ImplGlfwGL3_Init(GLFWwindow* window, bool install_callbacks) io.KeyMap[ImGuiKey_Y] = GLFW_KEY_Y; io.KeyMap[ImGuiKey_Z] = GLFW_KEY_Z; - io.RenderDrawListsFn = ImGui_ImplGlfwGL3_RenderDrawLists; // Alternatively you can set this to nullptr and call ImGui::GetDrawData() after ImGui::Render() to get the same ImDrawData pointer. io.SetClipboardTextFn = ImGui_ImplGlfwGL3_SetClipboardText; io.GetClipboardTextFn = ImGui_ImplGlfwGL3_GetClipboardText; io.ClipboardUserData = g_Window;