Keep consistency with log label in irr driver
This commit is contained in:
parent
7dd7f76e87
commit
306ace7fd2
@ -547,7 +547,7 @@ void IrrDriver::initDevice()
|
|||||||
(UserConfigParams::m_shadows_resolution < 512 ||
|
(UserConfigParams::m_shadows_resolution < 512 ||
|
||||||
UserConfigParams::m_shadows_resolution > 2048))
|
UserConfigParams::m_shadows_resolution > 2048))
|
||||||
{
|
{
|
||||||
Log::warn("IrrDriver",
|
Log::warn("irr_driver",
|
||||||
"Invalid value for UserConfigParams::m_shadows_resolution : %i",
|
"Invalid value for UserConfigParams::m_shadows_resolution : %i",
|
||||||
(int)UserConfigParams::m_shadows_resolution);
|
(int)UserConfigParams::m_shadows_resolution);
|
||||||
UserConfigParams::m_shadows_resolution = 0;
|
UserConfigParams::m_shadows_resolution = 0;
|
||||||
@ -2098,7 +2098,7 @@ void IrrDriver::doScreenShot()
|
|||||||
video::IImage* image = m_video_driver->createScreenShot();
|
video::IImage* image = m_video_driver->createScreenShot();
|
||||||
if(!image)
|
if(!image)
|
||||||
{
|
{
|
||||||
Log::error("IrrDriver", "Could not create screen shot.");
|
Log::error("irr_driver", "Could not create screen shot.");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user