diff --git a/common/map_view.cpp b/common/map_view.cpp index 4e68a65ce..75a5af3ac 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;