Commit 0b0894c5 authored by mercury233's avatar mercury233 Committed by GitHub

disable irrlicht warning log (#2417)

parent 97da82b8
...@@ -31,6 +31,9 @@ bool Game::Initialize() { ...@@ -31,6 +31,9 @@ bool Game::Initialize() {
ErrorLog("Failed to create Irrlicht Engine device!"); ErrorLog("Failed to create Irrlicht Engine device!");
return false; return false;
} }
#ifndef _DEBUG
device->getLogger()->setLogLevel(irr::ELOG_LEVEL::ELL_ERROR);
#endif
xScale = 1; xScale = 1;
yScale = 1; yScale = 1;
linePatternD3D = 0; linePatternD3D = 0;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment