diff options
Diffstat (limited to 'imgui_impl_raylib.cpp')
| -rw-r--r-- | imgui_impl_raylib.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/imgui_impl_raylib.cpp b/imgui_impl_raylib.cpp index 77f2424..308bf84 100644 --- a/imgui_impl_raylib.cpp +++ b/imgui_impl_raylib.cpp @@ -234,10 +234,11 @@ bool ImGui_ImplRaylib_ProcessEvent() FOR_ALL_KEYS(SET_KEY_DOWN); - if (GetKeyPressed() != -1) - { + // Uncomment the three lines below if using raylib earlier than version 3. + //if (GetKeyPressed() != -1) + //{ io.AddInputCharacter(GetKeyPressed()); - } + //} return true; } |
