summaryrefslogtreecommitdiffstats
path: root/libass
diff options
context:
space:
mode:
authoreugeni <eugeni@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-04-20 23:23:00 +0000
committereugeni <eugeni@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-04-20 23:23:00 +0000
commitd517733485b0a0e6213d9ebdc9c2d13e4798606c (patch)
tree5564584958c27bac00124df11c005dfbb0ce81ac /libass
parentbf5f0dd91b865b6c2bb65d38b3f94cb40c93757d (diff)
downloadlibass-d517733485b0a0e6213d9ebdc9c2d13e4798606c.tar.bz2
libass-d517733485b0a0e6213d9ebdc9c2d13e4798606c.tar.xz
Allow caching of rotated glyphs.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23047 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libass')
-rw-r--r--libass/ass_render.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/libass/ass_render.c b/libass/ass_render.c
index d139c2e..418396c 100644
--- a/libass/ass_render.c
+++ b/libass/ass_render.c
@@ -407,14 +407,10 @@ static ass_image_t* render_text(text_info_t* text_info, int dst_x, int dst_y)
FT_Done_Glyph(text_info->glyphs[i].outline_glyph);
// cache
- if (text_info->glyphs[i].hash_key.frx == 0 &&
- text_info->glyphs[i].hash_key.fry == 0 &&
- text_info->glyphs[i].hash_key.frz == 0) {
hash_val.bm_o = text_info->glyphs[i].bm_o;
hash_val.bm = text_info->glyphs[i].bm;
hash_val.bm_s = text_info->glyphs[i].bm_s;
cache_add_bitmap(&(text_info->glyphs[i].hash_key), &hash_val);
- }
}
}