Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Enable Irrlicht debug logging with --trace
  • Loading branch information
sfan5 committed Mar 12, 2021
1 parent 1bc85a4 commit 051bc9e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/client/renderingengine.cpp
Expand Up @@ -118,6 +118,8 @@ RenderingEngine::RenderingEngine(IEventReceiver *receiver)
}

SIrrlichtCreationParameters params = SIrrlichtCreationParameters();
if (g_logger.getTraceEnabled())
params.LoggingLevel = irr::ELL_DEBUG;
params.DriverType = driverType;
params.WindowSize = core::dimension2d<u32>(screen_w, screen_h);
params.Bits = bits;
Expand Down

0 comments on commit 051bc9e

Please sign in to comment.