1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-04 12:00:25 +00:00

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.
This commit is contained in:
Yannick Bühler
2025-10-28 08:13:10 +01:00
parent c0c1c68562
commit b1621dfc0b

View File

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