summaryrefslogtreecommitdiffstats
path: root/sub
diff options
context:
space:
mode:
Diffstat (limited to 'sub')
-rw-r--r--sub/sub.c8
-rw-r--r--sub/sub.h1
2 files changed, 0 insertions, 9 deletions
diff --git a/sub/sub.c b/sub/sub.c
index 8e80730b9a..fb1c76c91d 100644
--- a/sub/sub.c
+++ b/sub/sub.c
@@ -301,14 +301,6 @@ void vo_osd_reset_changed(void)
osd->objs[n]->force_redraw = false;
}
-void vo_osd_resized(void)
-{
- // Counter the typical vo_osd_has_changed(osd) call in VO's draw_osd()
- struct osd_state *osd = global_osd;
- for (int n = 0; n < MAX_OSD_PARTS; n++)
- osd->objs[n]->force_redraw = true;
-}
-
bool sub_bitmaps_bb(struct sub_bitmaps *imgs, int *x1, int *y1,
int *x2, int *y2)
{
diff --git a/sub/sub.h b/sub/sub.h
index 92ac19eb52..badc21d7a6 100644
--- a/sub/sub.h
+++ b/sub/sub.h
@@ -169,7 +169,6 @@ void osd_update(struct osd_state *osd, int dxs, int dys);
void vo_osd_changed(int new_value);
void vo_osd_reset_changed(void);
bool vo_osd_has_changed(struct osd_state *osd);
-void vo_osd_resized(void);
void osd_free(struct osd_state *osd);
bool sub_bitmaps_bb(struct sub_bitmaps *imgs, int *x1, int *y1,