Don't auto-enable logging in debug mode in headless, it's annoying.

This commit is contained in:
Henrik Rydgård committed 2026-08-09 13:41:39 +02:00
1 parent 8c9bf04add
commit b0f070040b
1 file changed
-4
-4
View File
@@ -295,10 +295,6 @@ CommandLineParseResult CommandLineOptions::Parse(int argc, const char *argv[], C
constexpr std::string_view controlsOption = "--controlconfig="; constexpr std::string_view controlsOption = "--controlconfig=";
constexpr std::string_view logLevelOption = "--loglevel="; constexpr std::string_view logLevelOption = "--loglevel=";
#ifdef _DEBUG
enableLogging = true;
#endif
// The rest is handled in NativeInit(). // The rest is handled in NativeInit().
// NOTE: We don't increment i here, as we'll sometimes handle options that read the next argument. // NOTE: We don't increment i here, as we'll sometimes handle options that read the next argument.
for (size_t i = 1; i < argc; ) { for (size_t i = 1; i < argc; ) {