mirror of
https://github.com/SpartanJ/eepp.git
synced 2026-05-30 01:56:31 +03:00
Fixed release build in Windows.
ecode pumped version, soon to be released.
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user