Skip to content

Commit

Permalink
vo_dmabuf_wayland: remove unnecessary commit
Browse files Browse the repository at this point in the history
This commit does not take effect until the next video_surface commit
anyway.
  • Loading branch information
mahkoh authored and Dudemanguy committed Feb 21, 2025
1 parent 76da050 commit ebe31c9
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions video/out/vo_dmabuf_wayland.c
Original file line number Diff line number Diff line change
Expand Up @@ -388,10 +388,6 @@ static void destroy_osd_buffers(struct vo *vo)
if (!vo->wl)
return;

// Remove any existing buffer before we destroy them.
wl_surface_attach(vo->wl->osd_surface, NULL, 0, 0);
wl_surface_commit(vo->wl->osd_surface);

struct priv *p = vo->priv;
struct osd_buffer *osd_buf, *tmp;
wl_list_for_each_safe(osd_buf, tmp, &p->osd_buffer_list, link) {
Expand Down

0 comments on commit ebe31c9

Please sign in to comment.