Browse Source

TextureTools: increase fuzzy compare threshold for iOS/WebGL.

findsdl-include-root
Vladimír Vondruš 7 years ago
parent
commit
398988193a
  1. 7
      src/Magnum/TextureTools/Test/DistanceFieldGLTest.cpp

7
src/Magnum/TextureTools/Test/DistanceFieldGLTest.cpp

@ -206,9 +206,10 @@ void DistanceFieldGLTest::test() {
Utility::Directory::join(_testDir, "output.tga"),
/* Some mobile GPUs have slight (off-by-one) rounding errors compared
to the ground truth, but it's just a very small amount of pixels
(20-50 out of the total 4k pixels). That's okay. It's also possible
that the ground truth itself has rounding errors ;) */
(DebugTools::CompareImageToFile{_manager, 1.0f, 0.0125f}));
(20-50 out of the total 4k pixels, iOS/WebGL has slightly more).
That's okay. It's also possible that the ground truth itself has
rounding errors ;) */
(DebugTools::CompareImageToFile{_manager, 1.0f, 0.178f}));
}
#ifndef MAGNUM_TARGET_WEBGL

Loading…
Cancel
Save