From eac9e540475a9695395abb0e9c4bf5af29153983 Mon Sep 17 00:00:00 2001 From: vng Date: Thu, 27 Oct 2011 04:56:23 +0300 Subject: [PATCH] [ToDo] Add assertion. Need to fix bug in tile drawing. --- yg/circle_element.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/yg/circle_element.cpp b/yg/circle_element.cpp index 2c1ddf7702..35751dc193 100644 --- a/yg/circle_element.cpp +++ b/yg/circle_element.cpp @@ -50,6 +50,7 @@ namespace yg uint32_t styleID = r->skin()->mapCircleInfo(m_ci); ResourceStyle const * style = r->skin()->fromID(styleID); + ASSERT_NOT_EQUAL ( style, 0, () ); m2::RectI texRect(style->m_texRect); texRect.Inflate(-1, -1);