summaryrefslogtreecommitdiff
path: root/platform/glfw/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'platform/glfw/main.cpp')
-rw-r--r--platform/glfw/main.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/platform/glfw/main.cpp b/platform/glfw/main.cpp
index 7192475835..0cd9543f9c 100644
--- a/platform/glfw/main.cpp
+++ b/platform/glfw/main.cpp
@@ -121,7 +121,7 @@ int main(int argc, char *argv[]) {
mbgl::ThreadPool threadPool(4);
- mbgl::Map map(backend, view->getSize(), view->getPixelRatio(), fileSource, threadPool);
+ mbgl::Map map(backend, backend, view->getSize(), view->getPixelRatio(), fileSource, threadPool);
backend.setMap(&map);
@@ -200,4 +200,4 @@ int main(int argc, char *argv[]) {
view = nullptr;
return 0;
-} \ No newline at end of file
+}