mirror of
https://github.com/minetest/minetest.git
synced 2024-11-27 01:53:45 +01:00
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();
|
||||
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…
Reference in New Issue
Block a user