History

vo_dmabuf_wayland: remove unnecessary commit

This commit does not take effect until the next video_surface commit anyway.

Julian Orth committed 1 year ago

Commit ebe31c91 parent 76da0501 file · +0 −4Browse files

Unified · Split

video/out/vo_dmabuf_wayland.c+0−4
@@ -388,10 +388,6 @@ static void destroy_osd_buffers(struct vo *vo) · 387 unmodified lines
388388 if (!vo->wl)
389389 return;
390390
391− // Remove any existing buffer before we destroy them.
392− wl_surface_attach(vo->wl->osd_surface, NULL, 0, 0);
393− wl_surface_commit(vo->wl->osd_surface);
394−
395391 struct priv *p = vo->priv;
396392 struct osd_buffer *osd_buf, *tmp;
397393 wl_list_for_each_safe(osd_buf, tmp, &p->osd_buffer_list, link) {

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t