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:
cutealien 2022-03-30 16:54:46 +00:00
parent 5785b73d47
commit 3aac180dc7

@ -125,6 +125,10 @@ static bool testShotsOfShots(video::E_DRIVER_TYPE type)
name += irr::core::stringc((int)aa);
name += ".png";
result = takeScreenshotAndCompareAgainstReference(driver, name.c_str());
if ( !result )
{
logTestString("driver color format: %s\n", video::ColorFormatNames[driver->getColorFormat()]);
}
}
else
{