From b8369c4f0ab64f09236bf0b63b4abe88890b5277 Mon Sep 17 00:00:00 2001 From: dijunkun Date: Tue, 2 Sep 2025 17:10:55 +0800 Subject: [PATCH] [feat] remove redundant ImGui ConfigFlags to improve performance --- src/single_window/render.cpp | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/single_window/render.cpp b/src/single_window/render.cpp index 760a10c..f6ba9f3 100644 --- a/src/single_window/render.cpp +++ b/src/single_window/render.cpp @@ -679,12 +679,6 @@ int Render::SetupFontAndStyle() { io.IniFilename = NULL; // disable imgui.ini - io.ConfigFlags |= - ImGuiConfigFlags_NavEnableKeyboard; // Enable Keyboard Controls - io.ConfigFlags |= - ImGuiConfigFlags_NavEnableGamepad; // Enable Gamepad Controls - io.ConfigFlags |= ImGuiConfigFlags_DockingEnable; // Enable Docking - // Load Fonts ImFontConfig config; config.FontDataOwnedByAtlas = false;