summaryrefslogtreecommitdiff
path: root/bin/render.cpp
diff options
context:
space:
mode:
authorIvo van Dongen <info@ivovandongen.nl>2017-07-25 11:01:55 +0300
committerIvo van Dongen <ivovandongen@users.noreply.github.com>2017-07-25 17:44:28 +0300
commite75fdf10758d0a3dc419e3fa4edafafea904a96d (patch)
tree5366df796ff8493961e63bdc1ed07efd26794e65 /bin/render.cpp
parentf69997a19cf74a125c46a60e6004aa84e24c0b68 (diff)
downloadqtlocation-mapboxgl-e75fdf10758d0a3dc419e3fa4edafafea904a96d.tar.gz
[render] manage backendscope in renderer frontend
Diffstat (limited to 'bin/render.cpp')
-rw-r--r--bin/render.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/render.cpp b/bin/render.cpp
index 59461e5183..0214d3310c 100644
--- a/bin/render.cpp
+++ b/bin/render.cpp
@@ -90,7 +90,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);
- AsyncRendererFrontend rendererFrontend(std::make_unique<Renderer>(backend, pixelRatio, fileSource, threadPool), view);
+ AsyncRendererFrontend rendererFrontend(std::make_unique<Renderer>(backend, pixelRatio, fileSource, threadPool), backend, view);
Map map(rendererFrontend, MapObserver::nullObserver(), mbgl::Size { width, height }, pixelRatio, fileSource, threadPool, MapMode::Still);
if (style_path.find("://") == std::string::npos) {