Move notify_map_change() from a global callback, to a callback in
View. This allows for their to me more than one Map object alive at a time. Fixes mapbox/mapbox-gl-native#346 Conflicts: common/glfw_view.hpp include/llmr/map/view.hpp include/mbgl/map/transform.hpp src/map/map.cpp src/map/transform.cpp test/headless.cpp
This commit is contained in:
@@ -156,7 +156,6 @@ void Map::cleanup(uv_async_t *async) {
|
||||
void Map::terminate() {
|
||||
view.make_active();
|
||||
painter.terminate();
|
||||
view.make_inactive();
|
||||
}
|
||||
|
||||
void Map::render(uv_async_t *async) {
|
||||
|
||||
Reference in New Issue
Block a user