diff options
author | Sudarsana Babu Nagineni <sudarsana.babu@mapbox.com> | 2019-04-01 13:55:24 +0300 |
---|---|---|
committer | Sudarsana Babu Nagineni <sudarsana.babu@mapbox.com> | 2019-04-01 14:02:48 +0300 |
commit | 96f52b813722826497a48bbcd7e0d444967c58b2 (patch) | |
tree | 38ce0e8f60eb09e6f18a5127ee47b9b25a791752 | |
parent | 2cfdd1a2f7042650538d24058fc28ad092739073 (diff) | |
download | qtlocation-mapboxgl-upstream/nagineni-remove-unused.tar.gz |
[glfw] Remove unused map objectupstream/nagineni-remove-unused
Remove unused map object that was accidentally added
in 7af00a4.
-rw-r--r-- | platform/glfw/main.cpp | 2 |
1 files changed, 0 insertions, 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<mbgl::Renderer>(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); |