mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Enable Irrlicht debug logging with --trace
This commit is contained in:
parent
1bc85a47cb
commit
051bc9e662
1 changed files with 2 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue