[Scummvm-git-logs] scummvm master -> 4108e91b7ab21bd7f45094c90cf66c44b7e76a7d
sev-
noreply at scummvm.org
Sun Aug 9 08:59:57 UTC 2026
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://api.github.com/repos/scummvm/scummvm .
Summary:
4108e91b7a IMGUI: Update scummvm.patch with the last adjustment
Commit: 4108e91b7ab21bd7f45094c90cf66c44b7e76a7d
https://github.com/scummvm/scummvm/commit/4108e91b7ab21bd7f45094c90cf66c44b7e76a7d
Author: Eugene Sandulenko (sev at scummvm.org)
Date: 2026-08-09T10:59:48+02:00
Commit Message:
IMGUI: Update scummvm.patch with the last adjustment
Changed paths:
backends/imgui/scummvm.patch
diff --git a/backends/imgui/scummvm.patch b/backends/imgui/scummvm.patch
index 6e8190ae8ca..dc0b4891745 100644
--- a/backends/imgui/scummvm.patch
+++ b/backends/imgui/scummvm.patch
@@ -151,6 +151,18 @@ diff --color -rbu ./backends/imgui_impl_sdl3.cpp ../scummvm/scummvm/backends/img
#include "imgui_impl_sdl3.h"
// Clang warnings with -Weverything
+@@ -389,6 +390,11 @@
+ io.AddKeyEvent(ImGuiMod_Shift, (sdl_key_mods & SDL_KMOD_SHIFT) != 0);
+ io.AddKeyEvent(ImGuiMod_Alt, (sdl_key_mods & SDL_KMOD_ALT) != 0);
+ io.AddKeyEvent(ImGuiMod_Super, (sdl_key_mods & SDL_KMOD_GUI) != 0);
++}
++
++bool ImGui_ImplSDL3_Ready()
++{
++ return ImGui_ImplSDL3_GetBackendData() != nullptr;
+ }
+
+ // You can read the io.WantCaptureMouse, io.WantCaptureKeyboard flags to tell if dear imgui wants to use your inputs.
diff --color -rbu ./backends/imgui_impl_sdl3.h ../scummvm/scummvm/backends/imgui/backends/imgui_impl_sdl3.h
--- ./backends/imgui_impl_sdl3.h 2026-02-22 18:19:48
+++ ../scummvm/scummvm/backends/imgui/backends/imgui_impl_sdl3.h 2026-02-22 18:20:13
@@ -163,6 +175,14 @@ diff --color -rbu ./backends/imgui_impl_sdl3.h ../scummvm/scummvm/backends/imgui
#ifndef IMGUI_DISABLE
struct SDL_Window;
+@@ -41,6 +41,7 @@
+ IMGUI_IMPL_API void ImGui_ImplSDL3_Shutdown();
+ IMGUI_IMPL_API void ImGui_ImplSDL3_NewFrame();
+ IMGUI_IMPL_API bool ImGui_ImplSDL3_ProcessEvent(const SDL_Event* event);
++IMGUI_IMPL_API bool ImGui_ImplSDL3_Ready();
+
+ // Gamepad selection automatically starts in AutoFirst mode, picking first available SDL_Gamepad. You may override this.
+ // When using manual mode, caller is responsible for opening/closing gamepad.
diff --color -rbu ./backends/imgui_impl_sdlrenderer2.cpp ../scummvm/scummvm/backends/imgui/backends/imgui_impl_sdlrenderer2.cpp
--- ./backends/imgui_impl_sdlrenderer2.cpp 2026-02-22 18:19:48
+++ ../scummvm/scummvm/backends/imgui/backends/imgui_impl_sdlrenderer2.cpp 2026-02-22 18:20:13
More information about the Scummvm-git-logs
mailing list