mirror of
https://github.com/kunkundi/crossdesk.git
synced 2025-10-27 04:35:34 +08:00
[feat] remove redundant ImGui ConfigFlags to improve performance
This commit is contained in:
@@ -679,12 +679,6 @@ int Render::SetupFontAndStyle() {
|
|||||||
|
|
||||||
io.IniFilename = NULL; // disable imgui.ini
|
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
|
// Load Fonts
|
||||||
ImFontConfig config;
|
ImFontConfig config;
|
||||||
config.FontDataOwnedByAtlas = false;
|
config.FontDataOwnedByAtlas = false;
|
||||||
|
|||||||
Reference in New Issue
Block a user