Skip to content
Snippets Groups Projects
Commit e941457a authored by Brad Payne (Vir Linden)'s avatar Brad Payne (Vir Linden)
Browse files

Fix for 'no text in release builds' problem

parent e60491fc
No related branches found
No related tags found
No related merge requests found
......@@ -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++;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment