From ae80f77f77b6b211d645285f03a9521ae2568001 Mon Sep 17 00:00:00 2001 From: rachytski Date: Wed, 15 Feb 2012 16:25:12 +0400 Subject: [PATCH] using less videoMemory for tiles. --- android/jni/com/mapswithme/platform/Platform.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/android/jni/com/mapswithme/platform/Platform.cpp b/android/jni/com/mapswithme/platform/Platform.cpp index 2bbf5dea1c..f64da4339b 100644 --- a/android/jni/com/mapswithme/platform/Platform.cpp +++ b/android/jni/com/mapswithme/platform/Platform.cpp @@ -36,7 +36,7 @@ public: m_maxTilesCount = 0; - m_preCachingDepth = 6; + m_preCachingDepth = 4; /// calculating for non-rotated screen @@ -53,7 +53,7 @@ public: /// tiles in the single screen int singleScreenTilesCount = tilesOnXSide * tilesOnYSide; // LOG(LINFO, ("singleScreenTilesCount:", singleScreenTilesCount)); - int curLevelTilesCount = singleScreenTilesCount * 3; + int curLevelTilesCount = singleScreenTilesCount * 2; // LOG(LINFO, ("curLevelTilesCount:", curLevelTilesCount)); m_maxTilesCount += curLevelTilesCount; // LOG(LINFO, ("on", i, "depth we need", curLevelTilesCount, "tiles"));