diff options
author | wm4 <wm4@nowhere> | 2016-05-18 18:22:27 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2016-05-18 18:22:27 +0200 |
commit | 5f7bd411fb1ccf0403a617fa5d44de2ba583162d (patch) | |
tree | 15241916c7ba433faa7de3575786aa8f5f45023b /video | |
parent | 0b911792ca93ee91fafb0d13f5c44a8997e0fab6 (diff) | |
download | mpv-5f7bd411fb1ccf0403a617fa5d44de2ba583162d.tar.bz2 mpv-5f7bd411fb1ccf0403a617fa5d44de2ba583162d.tar.xz |
vo_opengl: remove unused field
Diffstat (limited to 'video')
-rw-r--r-- | video/out/opengl/osd.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/video/out/opengl/osd.c b/video/out/opengl/osd.c index 02a0fde329..bf03d34e90 100644 --- a/video/out/opengl/osd.c +++ b/video/out/opengl/osd.c @@ -64,7 +64,6 @@ struct mpgl_osd { struct osd_state *osd; GL *gl; bool use_pbo; - bool scaled; struct mpgl_osd_part *parts[MAX_OSD_PARTS]; const struct gl_format *fmt_table[SUBBITMAP_COUNT]; bool formats[SUBBITMAP_COUNT]; @@ -200,7 +199,7 @@ static bool upload_osd(struct mpgl_osd *ctx, struct mpgl_osd_part *osd, GL *gl = ctx->gl; // assume 2x2 filter on scaling - osd->packer->padding = ctx->scaled || imgs->scaled; + osd->packer->padding = imgs->scaled; int r = packer_pack_from_subbitmaps(osd->packer, imgs); if (r < 0) { MP_ERR(ctx, "OSD bitmaps do not fit on a surface with the maximum " |