Skip to content
Permalink
Browse files

Enable Irrlicht debug logging with --trace

  • Loading branch information
sfan5 committed Mar 12, 2021
1 parent 1bc85a4 commit 051bc9e6624c63c3612e041644ec587b328bae55
Showing with 2 additions and 0 deletions.
  1. +2 −0 src/client/renderingengine.cpp
@@ -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;

0 comments on commit 051bc9e

Please sign in to comment.