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

@@ -182,6 +182,7 @@ static void ImGui_ImplSDL2_PlatformSetImeData(ImGuiContext*, ImGuiViewport*, ImG
}
// Not static to allow third-party code to use that if they want to (but undocumented)
ImGuiKey ImGui_ImplSDL2_KeyEventToImGuiKey(SDL_Keycode keycode, SDL_Scancode scancode);
ImGuiKey ImGui_ImplSDL2_KeyEventToImGuiKey(SDL_Keycode keycode, SDL_Scancode scancode)
{
IM_UNUSED(scancode);