summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorThiago Marcos P. Santos <thiago@mapbox.com>2015-03-11 14:39:02 +0200
committerThiago Marcos P. Santos <thiago@mapbox.com>2015-03-11 14:40:05 +0200
commit71ccb7b0138d62984bb03700319bcc988157f1ed (patch)
treeca648180237a0509a0c7107b3aca7ce542a7b5d4 /bin
parentf3f8e348a1930dc5bd3f96f28b176e25402aee56 (diff)
downloadqtlocation-mapboxgl-71ccb7b0138d62984bb03700319bcc988157f1ed.tar.gz
Trivial build fix, do not call private method
Resize is internally called by the view now.
Diffstat (limited to 'bin')
-rw-r--r--bin/render.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/bin/render.cpp b/bin/render.cpp
index 9129a4bcfa..71981b9d96 100644
--- a/bin/render.cpp
+++ b/bin/render.cpp
@@ -102,7 +102,6 @@ int main(int argc, char *argv[]) {
map.setClasses(classes);
view.resize(width, height, pixelRatio);
- map.resize(width, height, pixelRatio);
map.setLatLngZoom({ lat, lon }, zoom);
map.setBearing(bearing);