[feat] remove redundant ImGui ConfigFlags to improve performance

This commit is contained in:
dijunkun
2025-09-02 17:10:55 +08:00
parent a068a32303
commit b8369c4f0a

View File

@@ -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;