From b1621dfc0b98f635c5f0c50b2f445a88893d6f37 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Yannick=20B=C3=BChler?= Date: Tue, 28 Oct 2025 08:13:10 +0100 Subject: [PATCH] main.cpp: fix typo in gpu-profile CLI argument main.cpp uses "profile-gpu" in one place, whereas all other occurrences in the codebase use "gpu-profile". This fixes the gpu profiler not being configurable via CLI. --- main/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main/main.cpp b/main/main.cpp index d95a9a95931..de713937ef3 100644 --- a/main/main.cpp +++ b/main/main.cpp @@ -1818,7 +1818,7 @@ Error Main::setup(const char *execpath, int argc, char *argv[], bool p_second_ph } else if (arg == "--editor-pseudolocalization") { editor_pseudolocalization = true; #endif // TOOLS_ENABLED - } else if (arg == "--profile-gpu") { + } else if (arg == "--gpu-profile") { profile_gpu = true; } else if (arg == "--disable-crash-handler") { OS::get_singleton()->disable_crash_handler();