diff options
author | Konstantin Käfer <mail@kkaefer.com> | 2014-04-09 18:21:24 -0400 |
---|---|---|
committer | Konstantin Käfer <mail@kkaefer.com> | 2014-04-09 18:21:24 -0400 |
commit | f6ee93e96d8599b954bd6a60b55c502a86cea8b1 (patch) | |
tree | ca8a9ab1d20f737ef8a40e2fa3741c29f26277b1 /common | |
parent | 189b8951456ad1cd381f23516e70eff3fb72c359 (diff) | |
download | qtlocation-mapboxgl-f6ee93e96d8599b954bd6a60b55c502a86cea8b1.tar.gz |
no need to call separate function
Diffstat (limited to 'common')
-rw-r--r-- | common/map_view.cpp | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/common/map_view.cpp b/common/map_view.cpp index 4e68a65ce1..75a5af3acc 100644 --- a/common/map_view.cpp +++ b/common/map_view.cpp @@ -178,7 +178,7 @@ public: if (dirty) { try { - dirty = render(); + dirty = map.render(); } catch (std::exception& ex) { fprintf(stderr, "exception: %s\n", ex.what()); } @@ -196,10 +196,6 @@ public: return 0; } - bool render() { - return map.render(); - } - void fps() { static int frames = 0; static double time_elapsed = 0; |