diff options
author | Dr.Smile <vabnick@gmail.com> | 2018-05-03 03:09:52 +0300 |
---|---|---|
committer | Dr.Smile <vabnick@gmail.com> | 2019-05-20 01:01:40 +0300 |
commit | 4293dc36c1fc3a39731e328ab76af920512c888f (patch) | |
tree | 044859400d0135018283eac81bf5cee07ab1b685 /libass/ass_render.h | |
parent | 2beae658967f44c51e272749fd8811b9569d41ac (diff) | |
download | libass-4293dc36c1fc3a39731e328ab76af920512c888f.tar.bz2 libass-4293dc36c1fc3a39731e328ab76af920512c888f.tar.xz |
bitmap: remove level of indirection in bitmap functions
This allows to use Bitmap struct directly as cache value
and to remove bunch of unnecessary allocations.
Diffstat (limited to 'libass/ass_render.h')
-rw-r--r-- | libass/ass_render.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libass/ass_render.h b/libass/ass_render.h index af06e99..e654a94 100644 --- a/libass/ass_render.h +++ b/libass/ass_render.h @@ -171,7 +171,7 @@ typedef struct glyph_info { int shape_run_id; ASS_Vector shift; - BitmapHashValue *image, *image_o; + Bitmap *bm, *bm_o; // next glyph in this cluster struct glyph_info *next; |