From 96f52b813722826497a48bbcd7e0d444967c58b2 Mon Sep 17 00:00:00 2001 From: Sudarsana Babu Nagineni Date: Mon, 1 Apr 2019 13:55:24 +0300 Subject: [glfw] Remove unused map object Remove unused map object that was accidentally added in 7af00a4. --- platform/glfw/main.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/platform/glfw/main.cpp b/platform/glfw/main.cpp index cb3f9b8578..fb7c2b4ffb 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); -- cgit v1.2.1