mirror of
https://github.com/minetest/irrlicht.git
synced 2024-11-09 01:03:51 +01:00
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 += ".png";
|
||||
result = takeScreenshotAndCompareAgainstReference(driver, name.c_str());
|
||||
if ( !result )
|
||||
{
|
||||
logTestString("driver color format: %s\n", video::ColorFormatNames[driver->getColorFormat()]);
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user