Optimization pass.
This commit is contained in:
@@ -184,8 +184,8 @@ BOOL LLFontFreetype::loadFace(const std::string& filename, const F32 point_size,
|
||||
mDescender = -mFTFace->descender * pixels_per_unit;
|
||||
mLineHeight = mFTFace->height * pixels_per_unit;
|
||||
|
||||
S32 max_char_width = ll_round(0.5f + (x_max - x_min));
|
||||
S32 max_char_height = ll_round(0.5f + (y_max - y_min));
|
||||
S32 max_char_width = ll_pos_round(0.5f + (x_max - x_min));
|
||||
S32 max_char_height = ll_pos_round(0.5f + (y_max - y_min));
|
||||
|
||||
mFontBitmapCachep->init(components, max_char_width, max_char_height);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user