You've already forked godot
							
							
				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:
		@@ -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();
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user