summaryrefslogtreecommitdiff
path: root/src/mbgl/map
diff options
context:
space:
mode:
authorIvo van Dongen <info@ivovandongen.nl>2017-06-26 10:06:47 -0700
committerIvo van Dongen <ivovandongen@users.noreply.github.com>2017-06-27 17:02:40 -0700
commit20189db67fa6b5b769fc802d67df77e0988799b2 (patch)
treec5c8d2efd7d87440ccf71b90ab479b4e3cc151ee /src/mbgl/map
parent88b2fbd4ecd0b4b59e900ce743abed41d63bbf46 (diff)
downloadqtlocation-mapboxgl-20189db67fa6b5b769fc802d67df77e0988799b2.tar.gz
[core] remove tile cache size setter
Diffstat (limited to 'src/mbgl/map')
-rw-r--r--src/mbgl/map/map.cpp11
1 files changed, 0 insertions, 11 deletions
diff --git a/src/mbgl/map/map.cpp b/src/mbgl/map/map.cpp
index d52315d19c..4d073802c2 100644
--- a/src/mbgl/map/map.cpp
+++ b/src/mbgl/map/map.cpp
@@ -92,8 +92,6 @@ public:
std::unique_ptr<RenderStyle> renderStyle;
bool cameraMutated = false;
-
- size_t sourceCacheSize;
bool loading = false;
util::AsyncTask asyncInvalidate;
@@ -823,15 +821,6 @@ bool Map::isFullyLoaded() const {
return impl->style->impl->isLoaded() && impl->renderStyle && impl->renderStyle->isLoaded();
}
-void Map::setSourceTileCacheSize(size_t size) {
- if (size != impl->sourceCacheSize) {
- impl->sourceCacheSize = size;
- if (!impl->renderStyle) return;
- impl->renderStyle->setSourceTileCacheSize(size);
- impl->backend.invalidate();
- }
-}
-
void Map::onLowMemory() {
if (impl->painter) {
BackendScope guard(impl->backend);