Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--drape_frontend/custom_features_context.hpp2
-rw-r--r--drape_frontend/rule_drawer.cpp4
2 files changed, 3 insertions, 3 deletions
diff --git a/drape_frontend/custom_features_context.hpp b/drape_frontend/custom_features_context.hpp
index 0a4d231e64..5a338f0f6d 100644
--- a/drape_frontend/custom_features_context.hpp
+++ b/drape_frontend/custom_features_context.hpp
@@ -18,7 +18,7 @@ struct CustomFeaturesContext
: m_features(std::move(features))
{}
- bool NeedDiscard(FeatureID const & id) const
+ bool NeedDiscardGeometry(FeatureID const & id) const
{
auto const it = m_features.find(id);
if (it == m_features.cend())
diff --git a/drape_frontend/rule_drawer.cpp b/drape_frontend/rule_drawer.cpp
index 40ab9b1cca..ee193c7f17 100644
--- a/drape_frontend/rule_drawer.cpp
+++ b/drape_frontend/rule_drawer.cpp
@@ -337,7 +337,7 @@ void RuleDrawer::ProcessAreaStyle(FeatureType const & f, Stylist const & s,
s.ForEachRule(std::bind(&ApplyAreaFeature::ProcessAreaRule, &apply, _1));
- if (!m_customFeaturesContext || !m_customFeaturesContext->NeedDiscard(f.GetID()))
+ if (!m_customFeaturesContext || !m_customFeaturesContext->NeedDiscardGeometry(f.GetID()))
apply.Finish(m_context->GetTextureManager());
}
@@ -433,7 +433,7 @@ void RuleDrawer::ProcessLineStyle(FeatureType const & f, Stylist const & s,
void RuleDrawer::ProcessPointStyle(FeatureType const & f, Stylist const & s, TInsertShapeFn const & insertShape,
int & minVisibleScale)
{
- if (m_customFeaturesContext && m_customFeaturesContext->NeedDiscard(f.GetID()))
+ if (m_customFeaturesContext && m_customFeaturesContext->NeedDiscardGeometry(f.GetID()))
return;
int const zoomLevel = m_context->GetTileKey().m_zoomLevel;