diff options
Diffstat (limited to 'video/out/opengl/osd.c')
-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 374f737f41..c41e10d900 100644 --- a/video/out/opengl/osd.c +++ b/video/out/opengl/osd.c @@ -314,8 +314,6 @@ void mpgl_osd_draw_finish(struct mpgl_osd *ctx, int index, gl_sc_blend(sc, factors[0], factors[1], factors[2], factors[3]); gl_sc_dispatch_draw(sc, target.tex, part->vertices, part->num_vertices); - - ctx->change_flag = false; } static void set_res(struct mpgl_osd *ctx, struct mp_osd_res res, int stereo_mode) @@ -359,6 +357,7 @@ void mpgl_osd_resize(struct mpgl_osd *ctx, struct mp_osd_res res, int stereo_mod bool mpgl_osd_check_change(struct mpgl_osd *ctx, struct mp_osd_res *res, double pts) { + ctx->change_flag = false; mpgl_osd_generate(ctx, *res, pts, 0, 0); return ctx->change_flag; } |