From 04e9a2fac164ae9f397551346c6c82fe3a1aa809 Mon Sep 17 00:00:00 2001 From: Luca Lolli <920858+dashandslash@users.noreply.github.com> Date: Wed, 1 Nov 2023 13:53:30 +0100 Subject: [PATCH] Backends: SDL3: rename SDL_EVENT_DISPLAY (#6974) SDL3 display events have been renamed --- backends/imgui_impl_sdl3.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/backends/imgui_impl_sdl3.cpp b/backends/imgui_impl_sdl3.cpp index 0e91cc72..3fad08ce 100644 --- a/backends/imgui_impl_sdl3.cpp +++ b/backends/imgui_impl_sdl3.cpp @@ -322,8 +322,8 @@ bool ImGui_ImplSDL3_ProcessEvent(const SDL_Event* event) return true; } case SDL_EVENT_DISPLAY_ORIENTATION: - case SDL_EVENT_DISPLAY_CONNECTED: - case SDL_EVENT_DISPLAY_DISCONNECTED: + case SDL_EVENT_DISPLAY_ADDED: + case SDL_EVENT_DISPLAY_REMOVED: case SDL_EVENT_DISPLAY_MOVED: case SDL_EVENT_DISPLAY_CONTENT_SCALE_CHANGED: {