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:
authorr.kuznetsov <r.kuznetsov@corp.mail.ru>2016-11-29 10:41:26 +0300
committerr.kuznetsov <r.kuznetsov@corp.mail.ru>2016-11-29 10:41:26 +0300
commit95e11b9d50df2f5bde6df6a66916bdda502b28f1 (patch)
treed307c729a2d6e79bf55127ad04bdef01e4e93909 /drape_frontend
parentb3f62ee7cb0392ed918e3f9d1898a8ae09c61fee (diff)
Fixed false assertion
Diffstat (limited to 'drape_frontend')
-rw-r--r--drape_frontend/area_shape.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/drape_frontend/area_shape.cpp b/drape_frontend/area_shape.cpp
index b04b9c446e..17cfafbd80 100644
--- a/drape_frontend/area_shape.cpp
+++ b/drape_frontend/area_shape.cpp
@@ -96,7 +96,7 @@ void AreaShape::DrawArea(ref_ptr<dp::Batcher> batcher, m2::PointD const & colorU
void AreaShape::DrawArea3D(ref_ptr<dp::Batcher> batcher, m2::PointD const & colorUv, m2::PointD const & outlineUv,
ref_ptr<dp::Texture> texture) const
{
- ASSERT(m_buildingOutline.m_generateOutline && !m_buildingOutline.m_indices.empty(), ());
+ ASSERT(!m_buildingOutline.m_indices.empty(), ());
ASSERT(!m_buildingOutline.m_normals.empty(), ());
glsl::vec2 const uv = glsl::ToVec2(colorUv);