mbgl-render-test runner - use the same tolerance as with node render test
Two render tests failing only with mbgl-render-tests are added to platform specific ignores. This is to be extended with fill-extrusion-pattern failing only on mac.
This commit is contained in:
@@ -62,7 +62,7 @@ bool TestRunner::checkImage(mbgl::PremultipliedImage&& actual, TestMetadata& met
|
||||
|
||||
pixels = // implicitly converting from uint64_t
|
||||
mapbox::pixelmatch(actual.data.get(), expected.data.get(), expected.size.width,
|
||||
expected.size.height, diff.data.get(), 0.16); // GL JS uses 0.1285
|
||||
expected.size.height, diff.data.get(), 0.1285); // Defined in GL JS
|
||||
|
||||
metadata.diff = mbgl::encodePNG(diff);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user