diff --git a/include/mbgl/map/map.hpp b/include/mbgl/map/map.hpp index 463235915..54c4d44f2 100644 --- a/include/mbgl/map/map.hpp +++ b/include/mbgl/map/map.hpp @@ -63,7 +63,6 @@ public: // Triggers a synchronous or asynchronous render. void renderSync(); - void renderAsync(); // Notifies the Map thread that the state has changed and an update might be necessary. void update(Update update = Update::Nothing); diff --git a/src/mbgl/map/map.cpp b/src/mbgl/map/map.cpp index bd6d0960d..1b8cd2b0e 100644 --- a/src/mbgl/map/map.cpp +++ b/src/mbgl/map/map.cpp @@ -46,10 +46,6 @@ void Map::renderSync() { context->invokeSync(&MapContext::render); } -void Map::renderAsync() { - context->invoke(&MapContext::render); -} - void Map::update(Update update_) { context->invoke(&MapContext::triggerUpdate, update_); }