Fix build bustage caused by 38ec6c3

This commit is contained in:
Birunthan Mohanathas 2013-08-10 13:13:04 +03:00
parent 616f986181
commit 63f5eed742

View File

@ -313,7 +313,7 @@ void CanvasD2D::DrawTextW(const WCHAR* str, UINT strLen, const TextFormat& forma
{ {
TextFormatD2D& formatD2D = (TextFormatD2D&)format; TextFormatD2D& formatD2D = (TextFormatD2D&)format;
formatD2D.CreateLayout( formatD2D.CreateLayout(
str, strLen, rect.Width, rect.Height, !m_AccurateText && m_TextAntiAliasing); str, strLen, rect.Width, rect.Height);
const float xOffset = formatD2D.m_TextFormat->GetFontSize() / 6.0f; const float xOffset = formatD2D.m_TextFormat->GetFontSize() / 6.0f;
const float xPos = [&]() const float xPos = [&]()