forked from Mirrorlandia_minetest/minetest
Enable Irrlicht debug logging with --trace
This commit is contained in:
parent
1bc85a47cb
commit
051bc9e662
@ -118,6 +118,8 @@ RenderingEngine::RenderingEngine(IEventReceiver *receiver)
|
|||||||
}
|
}
|
||||||
|
|
||||||
SIrrlichtCreationParameters params = SIrrlichtCreationParameters();
|
SIrrlichtCreationParameters params = SIrrlichtCreationParameters();
|
||||||
|
if (g_logger.getTraceEnabled())
|
||||||
|
params.LoggingLevel = irr::ELL_DEBUG;
|
||||||
params.DriverType = driverType;
|
params.DriverType = driverType;
|
||||||
params.WindowSize = core::dimension2d<u32>(screen_w, screen_h);
|
params.WindowSize = core::dimension2d<u32>(screen_w, screen_h);
|
||||||
params.Bits = bits;
|
params.Bits = bits;
|
||||||
|
Loading…
Reference in New Issue
Block a user