diff --git a/platform/glfw/main.cpp b/platform/glfw/main.cpp index cb3f9b857..fb7c2b4ff 100644 --- a/platform/glfw/main.cpp +++ b/platform/glfw/main.cpp @@ -111,8 +111,6 @@ int main(int argc, char *argv[]) { mbgl::ThreadPool threadPool(4); GLFWRendererFrontend rendererFrontend { std::make_unique(backend, view->getPixelRatio(), threadPool), backend }; - mbgl::Map map1(rendererFrontend, backend, threadPool,mbgl::MapOptions(), resourceOptions); - mbgl::Map map(rendererFrontend, backend, threadPool, mbgl::MapOptions().withSize(view->getSize()).withPixelRatio(view->getPixelRatio()), resourceOptions);