diff options
author | Brad Payne (Vir Linden) <vir@lindenlab.com> | 2012-10-12 15:05:56 -0400 |
---|---|---|
committer | Brad Payne (Vir Linden) <vir@lindenlab.com> | 2012-10-12 15:05:56 -0400 |
commit | e941457a0855d93d7e1f8e31c4e35ca319d64643 (patch) | |
tree | c82e5d661b1ae0a1132a509f68fb545a2bce8ee9 /indra/llrender | |
parent | e60491fc6994ccd77a7bc101c49c5b7e1eb1a379 (diff) |
Fix for 'no text in release builds' problem
Diffstat (limited to 'indra/llrender')
-rwxr-xr-x[-rw-r--r--] | indra/llrender/llfontfreetype.cpp | 6 |
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++; } |