summaryrefslogtreecommitdiff
path: root/test/api/annotations.test.cpp
diff options
context:
space:
mode:
authorMikko Pulkki <mikko.pulkki@mapbox.com>2019-10-15 12:03:04 +0300
committerMikko Pulkki <55925868+mpulkki-mapbox@users.noreply.github.com>2019-10-30 14:32:27 +0200
commita7a7e8cbe29e672d020db1d150e887f33d584a2d (patch)
tree1c686fb6b2a91e0ef70d62b129545c1077e15a7f /test/api/annotations.test.cpp
parentfb062bb23e66af3d5a889b767aae380884b259e5 (diff)
downloadqtlocation-mapboxgl-a7a7e8cbe29e672d020db1d150e887f33d584a2d.tar.gz
[render-test] Implement gfx probe for tracking gpu resources
Diffstat (limited to 'test/api/annotations.test.cpp')
-rw-r--r--test/api/annotations.test.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/test/api/annotations.test.cpp b/test/api/annotations.test.cpp
index 03330dc4c6..4886d90a93 100644
--- a/test/api/annotations.test.cpp
+++ b/test/api/annotations.test.cpp
@@ -33,8 +33,7 @@ public:
MapOptions().withMapMode(MapMode::Static).withSize(frontend.getSize())};
void checkRendering(const char * name) {
- test::checkImage(std::string("test/fixtures/annotations/") + name,
- frontend.render(map), 0.0002, 0.1);
+ test::checkImage(std::string("test/fixtures/annotations/") + name, frontend.render(map).image, 0.0002, 0.1);
}
};