From 8e3caa1b49bd6b8df5bb277c52c5bb9c32115813 Mon Sep 17 00:00:00 2001 From: prime31 Date: Tue, 12 Feb 2019 19:59:11 -0800 Subject: [PATCH] Fix FNA input for text --- src/ImGui.NET.SampleProgram.XNA/ImGuiRenderer.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ImGui.NET.SampleProgram.XNA/ImGuiRenderer.cs b/src/ImGui.NET.SampleProgram.XNA/ImGuiRenderer.cs index 199b753..5d745c2 100644 --- a/src/ImGui.NET.SampleProgram.XNA/ImGuiRenderer.cs +++ b/src/ImGui.NET.SampleProgram.XNA/ImGuiRenderer.cs @@ -179,7 +179,7 @@ namespace ImGuiNET.SampleProgram.XNA //{ // if (c == '\t') return; - // ImGui.AddInputCharacter(c); + // ImGui.GetIO().AddInputCharacter(c); //}; /////////////////////////////////////////// @@ -385,4 +385,4 @@ namespace ImGuiNET.SampleProgram.XNA #endregion Internals } -} \ No newline at end of file +}