From 57351c068b133ed140ac7b991181672019fe5c24 Mon Sep 17 00:00:00 2001 From: Ivo van Dongen Date: Tue, 13 Jun 2017 10:50:16 +0300 Subject: [core] split backend from mapobserver --- bin/render.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bin') 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(width * pixelRatio), static_cast(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; -- cgit v1.2.1