summaryrefslogtreecommitdiffstats
path: root/sub/draw_bmp.h
diff options
context:
space:
mode:
authorKacper Michajłow <kasper93@gmail.com>2023-11-04 04:54:51 +0100
committerDudemanguy <random342@airmail.cc>2024-01-22 14:54:55 +0000
commit0ac7a40dac2411cf9be429f611b8966560bb3f0c (patch)
tree7d65768a9dfc21b7080ba4518996dc4d588397cd /sub/draw_bmp.h
parent66e451f4e6e0d0b259eddfd3673f1aa5ff127726 (diff)
downloadmpv-0ac7a40dac2411cf9be429f611b8966560bb3f0c.tar.bz2
mpv-0ac7a40dac2411cf9be429f611b8966560bb3f0c.tar.xz
csputils: replace mp_alpha_type with pl_alpha_mode
Diffstat (limited to 'sub/draw_bmp.h')
-rw-r--r--sub/draw_bmp.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sub/draw_bmp.h b/sub/draw_bmp.h
index fda7797c9e..b4c7378290 100644
--- a/sub/draw_bmp.h
+++ b/sub/draw_bmp.h
@@ -15,7 +15,7 @@ struct mp_draw_sub_cache *mp_draw_sub_alloc_test(struct mp_image *dst);
// Render the sub-bitmaps in sbs_list to dst. sbs_list must have been rendered
// for an OSD resolution equivalent to dst's size (UB if not).
-// Warning: if dst is a format with alpha, and dst is not set to MP_ALPHA_PREMUL
+// Warning: if dst is a format with alpha, and dst is not set to PL_ALPHA_PREMULTIPLIED
// (not done by default), this will be extremely slow.
// Warning: the caller is responsible for ensuring that dst is writable.
// cache: allocated instance; caches non-changing OSD parts etc.