1
0
mirror of https://github.com/ocornut/imgui.git synced 2025-02-21 21:00:13 +01:00

Backends: SDL3: rename SDL_EVENT_DISPLAY (#6974)

SDL3 display events have been renamed
This commit is contained in:
Luca Lolli 2023-11-01 13:53:30 +01:00 committed by GitHub
parent 2a6d7b1eaa
commit 04e9a2fac1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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:
{