Backends: avoid missing -Wmissing-declaration warning. (#8087, #7997)

This commit is contained in:
ocornut
2024-10-24 17:24:47 +02:00
parent b4033b37ad
commit a908d73c16
6 changed files with 6 additions and 0 deletions

View File

@@ -161,6 +161,7 @@ static void ImGui_ImplSDL3_PlatformSetImeData(ImGuiContext*, ImGuiViewport* view
}
// Not static to allow third-party code to use that if they want to (but undocumented)
ImGuiKey ImGui_ImplSDL3_KeyEventToImGuiKey(SDL_Keycode keycode, SDL_Scancode scancode);
ImGuiKey ImGui_ImplSDL3_KeyEventToImGuiKey(SDL_Keycode keycode, SDL_Scancode scancode)
{
// Keypad doesn't have individual key values in SDL3