diff options
author | Mikko Pulkki <mikko.pulkki@mapbox.com> | 2019-10-15 12:03:04 +0300 |
---|---|---|
committer | Mikko Pulkki <55925868+mpulkki-mapbox@users.noreply.github.com> | 2019-10-30 14:32:27 +0200 |
commit | a7a7e8cbe29e672d020db1d150e887f33d584a2d (patch) | |
tree | 1c686fb6b2a91e0ef70d62b129545c1077e15a7f /test/api/recycle_map.cpp | |
parent | fb062bb23e66af3d5a889b767aae380884b259e5 (diff) | |
download | qtlocation-mapboxgl-a7a7e8cbe29e672d020db1d150e887f33d584a2d.tar.gz |
[render-test] Implement gfx probe for tracking gpu resources
Diffstat (limited to 'test/api/recycle_map.cpp')
-rw-r--r-- | test/api/recycle_map.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/api/recycle_map.cpp b/test/api/recycle_map.cpp index b3c573b1a2..be7bb77b4c 100644 --- a/test/api/recycle_map.cpp +++ b/test/api/recycle_map.cpp @@ -45,10 +45,10 @@ TEST(API, RecycleMapUpdateImages) { // default marker loadStyle("default_marker", "test/fixtures/sprites/default_marker.png"); - test::checkImage("test/fixtures/recycle_map/default_marker", frontend.render(*map), 0.0006, 0.1); + test::checkImage("test/fixtures/recycle_map/default_marker", frontend.render(*map).image, 0.0006, 0.1); // flipped marker loadStyle("flipped_marker", "test/fixtures/sprites/flipped_marker.png"); - test::checkImage("test/fixtures/recycle_map/flipped_marker", frontend.render(*map), 0.0006, 0.1); + test::checkImage("test/fixtures/recycle_map/flipped_marker", frontend.render(*map).image, 0.0006, 0.1); } |