diff options
author | Ivo van Dongen <info@ivovandongen.nl> | 2017-06-13 10:50:16 +0300 |
---|---|---|
committer | Ivo van Dongen <ivovandongen@users.noreply.github.com> | 2017-07-18 10:45:12 +0200 |
commit | 57351c068b133ed140ac7b991181672019fe5c24 (patch) | |
tree | 2a0be8819c2bc57b1cda7d5c6f98e725a030daa2 /bin | |
parent | e35cbbae55ab01f33690b1bb2e918c5f8393b854 (diff) | |
download | qtlocation-mapboxgl-57351c068b133ed140ac7b991181672019fe5c24.tar.gz |
[core] split backend from mapobserver
Diffstat (limited to 'bin')
-rw-r--r-- | bin/render.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/render.cpp b/bin/render.cpp index 51c6faef56..74fd6fdcc4 100644 --- a/bin/render.cpp +++ b/bin/render.cpp @@ -88,7 +88,7 @@ int main(int argc, char *argv[]) { OffscreenView view(backend.getContext(), { static_cast<uint32_t>(width * pixelRatio), static_cast<uint32_t>(height * pixelRatio) }); ThreadPool threadPool(4); - Map map(backend, mbgl::Size { width, height }, pixelRatio, fileSource, threadPool, MapMode::Still); + Map map(backend, MapObserver::nullObserver(), mbgl::Size { width, height }, pixelRatio, fileSource, threadPool, MapMode::Still); if (style_path.find("://") == std::string::npos) { style_path = std::string("file://") + style_path; |