Remove invalid optimization in renderer.
This commit is contained in:
parent
f20e90a524
commit
3d336f4306
1 changed files with 2 additions and 1 deletions
|
@ -95,7 +95,8 @@ void composite_bitmap(T & pixmap, FT_Bitmap *bitmap, unsigned rgba, int x, int y
|
|||
template <typename T>
|
||||
void text_renderer<T>::render(glyph_positions_ptr pos)
|
||||
{
|
||||
if (glyphs_.empty()) prepare_glyphs(pos);
|
||||
glyphs_.clear();
|
||||
prepare_glyphs(pos);
|
||||
FT_Error error;
|
||||
FT_Vector start;
|
||||
unsigned height = pixmap_.height();
|
||||
|
|
Loading…
Reference in a new issue