summaryrefslogtreecommitdiffstats
path: root/libvo/gl_osd.c
diff options
context:
space:
mode:
Diffstat (limited to 'libvo/gl_osd.c')
-rw-r--r--libvo/gl_osd.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libvo/gl_osd.c b/libvo/gl_osd.c
index 0e99d13652..ce4bee5c03 100644
--- a/libvo/gl_osd.c
+++ b/libvo/gl_osd.c
@@ -159,7 +159,8 @@ static bool upload_osd(struct mpgl_osd *ctx, struct mpgl_osd_part *osd,
{
GL *gl = ctx->gl;
- osd->packer->padding = imgs->scaled; // assume 2x2 filter on scaling
+ // assume 2x2 filter on scaling
+ osd->packer->padding = ctx->scaled || imgs->scaled;
int r = packer_pack_from_subbitmaps(osd->packer, imgs);
if (r < 0) {
mp_msg(MSGT_VO, MSGL_ERR, "[gl] EOSD bitmaps do not fit on "