Skip to content

Commit b1621df

Browse files
committed
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.
1 parent c0c1c68 commit b1621df

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

main/main.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1818,7 +1818,7 @@ Error Main::setup(const char *execpath, int argc, char *argv[], bool p_second_ph
18181818
} else if (arg == "--editor-pseudolocalization") {
18191819
editor_pseudolocalization = true;
18201820
#endif // TOOLS_ENABLED
1821-
} else if (arg == "--profile-gpu") {
1821+
} else if (arg == "--gpu-profile") {
18221822
profile_gpu = true;
18231823
} else if (arg == "--disable-crash-handler") {
18241824
OS::get_singleton()->disable_crash_handler();

0 commit comments

Comments
 (0)