From 44b15ecaa46cfaa1762841d28330d95b64ba63b5 Mon Sep 17 00:00:00 2001 From: rachytski Date: Thu, 24 Jan 2013 19:49:05 +0300 Subject: [PATCH] fixed order of text mask rendering in StraightTextElement. --- graphics/straight_text_element.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/graphics/straight_text_element.cpp b/graphics/straight_text_element.cpp index 0d358f5f8a..84a7f79247 100644 --- a/graphics/straight_text_element.cpp +++ b/graphics/straight_text_element.cpp @@ -270,7 +270,7 @@ namespace graphics for (unsigned i = 0; i < m_glyphLayouts.size(); ++i) { if (m_glyphLayouts[i].fontDesc().m_isMasked) - drawTextImpl(m_glyphLayouts[i], screen, m, true, true, m_glyphLayouts[i].fontDesc(), depth() - 0.1); + drawTextImpl(m_glyphLayouts[i], screen, m, true, true, m_glyphLayouts[i].fontDesc(), depth()); } for (unsigned i = 0; i < m_glyphLayouts.size(); ++i)