Merge branch 'master' into libuv-0.10-headless-display
Conflicts: common/curl_request.cpp common/glfw_view.cpp common/glfw_view.hpp include/mbgl/platform/request.hpp ios/mapbox-gl-cocoa setup-libraries.sh src/map/map.cpp src/platform/request.cpp test/fixtures/fixture_request.cpp
This commit is contained in:
@@ -186,7 +186,9 @@ int GLFWView::run() {
|
||||
glfwWaitEvents();
|
||||
}
|
||||
|
||||
map->stop();
|
||||
map->stop([](void *) {
|
||||
glfwWaitEvents();
|
||||
});
|
||||
|
||||
return 0;
|
||||
}
|
||||
@@ -199,6 +201,10 @@ void GLFWView::make_inactive() {
|
||||
glfwMakeContextCurrent(nullptr);
|
||||
}
|
||||
|
||||
void GLFWView::notify() {
|
||||
glfwPostEmptyEvent();
|
||||
}
|
||||
|
||||
void GLFWView::swap() {
|
||||
glfwPostEmptyEvent();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user