forked from Mirrorlandia_minetest/irrlicht
Print out colorformat when screenshot test fails
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@6325 dfc29bdd-3216-0410-991c-e03cc46cb475
This commit is contained in:
parent
5785b73d47
commit
3aac180dc7
@ -125,6 +125,10 @@ static bool testShotsOfShots(video::E_DRIVER_TYPE type)
|
|||||||
name += irr::core::stringc((int)aa);
|
name += irr::core::stringc((int)aa);
|
||||||
name += ".png";
|
name += ".png";
|
||||||
result = takeScreenshotAndCompareAgainstReference(driver, name.c_str());
|
result = takeScreenshotAndCompareAgainstReference(driver, name.c_str());
|
||||||
|
if ( !result )
|
||||||
|
{
|
||||||
|
logTestString("driver color format: %s\n", video::ColorFormatNames[driver->getColorFormat()]);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user