From 189330241b35a786e5827a4b09a936250c3706e9 Mon Sep 17 00:00:00 2001 From: moonpower Date: Fri, 26 Dec 2025 02:51:18 +0100 Subject: [PATCH] Backends: Remove redundant BackendFlags setting in SDL_Surface initialization --- backends/imgui_impl_sdlsurface2.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/backends/imgui_impl_sdlsurface2.cpp b/backends/imgui_impl_sdlsurface2.cpp index 5ee9ead6..b26b0f27 100644 --- a/backends/imgui_impl_sdlsurface2.cpp +++ b/backends/imgui_impl_sdlsurface2.cpp @@ -123,7 +123,6 @@ bool ImGui_ImplSDLSurface2_Init(SDL_Surface* surface) ImGuiIO& io = ImGui::GetIO(); IM_ASSERT(io.BackendRendererName == nullptr && "Already initialized a renderer backend!"); io.BackendRendererName = "imgui_impl_sdlsurface2"; - io.BackendFlags |= ImGuiBackendFlags_RendererHasTextures; g_TargetSurface = surface; g_FontSurface = ImGui_ImplSDLSurface2_CreateFontAtlasSurface();