summaryrefslogtreecommitdiff
path: root/bin
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 /bin
parentfb062bb23e66af3d5a889b767aae380884b259e5 (diff)
downloadqtlocation-mapboxgl-a7a7e8cbe29e672d020db1d150e887f33d584a2d.tar.gz
[render-test] Implement gfx probe for tracking gpu resources
Diffstat (limited to 'bin')
-rw-r--r--bin/render.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/render.cpp b/bin/render.cpp
index 85231c8cba..409dfa7922 100644
--- a/bin/render.cpp
+++ b/bin/render.cpp
@@ -99,7 +99,7 @@ int main(int argc, char *argv[]) {
try {
std::ofstream out(output, std::ios::binary);
- out << encodePNG(frontend.render(map));
+ out << encodePNG(frontend.render(map).image);
out.close();
} catch(std::exception& e) {
std::cout << "Error: " << e.what() << std::endl;