mirror of
				https://github.com/luanti-org/luanti.git
				synced 2025-11-04 09:15:29 +01:00 
			
		
		
		
	Enable Irrlicht debug logging with --trace
This commit is contained in:
		@@ -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;
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user