summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
authorBrad Payne (Vir Linden) <vir@lindenlab.com>2012-10-12 15:05:56 -0400
committerBrad Payne (Vir Linden) <vir@lindenlab.com>2012-10-12 15:05:56 -0400
commite941457a0855d93d7e1f8e31c4e35ca319d64643 (patch)
treec82e5d661b1ae0a1132a509f68fb545a2bce8ee9 /indra
parente60491fc6994ccd77a7bc101c49c5b7e1eb1a379 (diff)
Fix for 'no text in release builds' problem
Diffstat (limited to 'indra')
-rwxr-xr-x[-rw-r--r--]indra/llrender/llfontfreetype.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/indra/llrender/llfontfreetype.cpp b/indra/llrender/llfontfreetype.cpp
index af4ffc6aea..7452bdf02b 100644..100755
--- a/indra/llrender/llfontfreetype.cpp
+++ b/indra/llrender/llfontfreetype.cpp
@@ -485,9 +485,11 @@ void LLFontFreetype::renderGlyph(U32 glyph_index) const
if (mFTFace == NULL)
return;
- llassert(! FT_Load_Glyph(mFTFace, glyph_index, FT_LOAD_FORCE_AUTOHINT) );
+ int error = FT_Load_Glyph(mFTFace, glyph_index, FT_LOAD_FORCE_AUTOHINT);
+ llassert(!error);
- llassert(! FT_Render_Glyph(mFTFace->glyph, gFontRenderMode) );
+ error = FT_Render_Glyph(mFTFace->glyph, gFontRenderMode);
+ llassert(!error);
mRenderGlyphCount++;
}