Fixed release build in Windows.

ecode pumped version, soon to be released.
This commit is contained in:
Martín Lucas Golini
2022-12-07 00:30:22 -03:00
parent 1a1e7f5b62
commit 4e61552126
4 changed files with 11 additions and 5 deletions

View File

@@ -4074,7 +4074,8 @@ EE_MAIN_FUNC int main( int argc, char* argv[] ) {
args::Flag benchmarkMode( parser, "benchmark-mode",
"Render as much as possible to measure the rendering performance.",
{ "benchmark-mode" } );
args::Flag verbose( parser, "verbose", "Print all logs to the standard output.",
{ 'v', "verbose" } );
try {
#if EE_PLATFORM != EE_PLATFORM_EMSCRIPTEN
parser.ParseCLI( argc, argv );
@@ -4094,6 +4095,9 @@ EE_MAIN_FUNC int main( int argc, char* argv[] ) {
return EXIT_FAILURE;
}
if ( verbose.Get() )
Log::instance()->setConsoleOutput( true );
appInstance = eeNew( App, () );
appInstance->init( logLevel.Get(), filePos ? filePos.Get() : file.Get(),
pixelDenstiyConf ? pixelDenstiyConf.Get() : 0.f,