mirror of
https://github.com/SpartanJ/eepp.git
synced 2026-05-29 17:46:29 +03:00
Tolerate a minor difference in border visual tests due to graphics drivers behaving slightly different to render rounded corners.
This commit is contained in:
@@ -832,7 +832,7 @@ UTEST( UIBorder, renderingVariations ) {
|
||||
SceneManager::instance()->draw();
|
||||
win->display();
|
||||
|
||||
compareImages( utest_state, utest_result, win, "eepp-ui-border-rendering", "html" );
|
||||
compareImages( utest_state, utest_result, win, "eepp-ui-border-rendering", "html", 4 );
|
||||
|
||||
Engine::destroySingleton();
|
||||
}
|
||||
@@ -866,7 +866,7 @@ UTEST( UIBorder, renderingVariations2 ) {
|
||||
SceneManager::instance()->draw();
|
||||
win->display();
|
||||
|
||||
compareImages( utest_state, utest_result, win, "eepp-ui-border-rendering-2", "html" );
|
||||
compareImages( utest_state, utest_result, win, "eepp-ui-border-rendering-2", "html", 4 );
|
||||
|
||||
Engine::destroySingleton();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user