summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorKonstantin Käfer <mail@kkaefer.com>2014-04-09 18:21:24 -0400
committerKonstantin Käfer <mail@kkaefer.com>2014-04-09 18:21:24 -0400
commitf6ee93e96d8599b954bd6a60b55c502a86cea8b1 (patch)
treeca8a9ab1d20f737ef8a40e2fa3741c29f26277b1 /common
parent189b8951456ad1cd381f23516e70eff3fb72c359 (diff)
downloadqtlocation-mapboxgl-f6ee93e96d8599b954bd6a60b55c502a86cea8b1.tar.gz
no need to call separate function
Diffstat (limited to 'common')
-rw-r--r--common/map_view.cpp6
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;