summaryrefslogtreecommitdiffstats
path: root/video/out/vo_wayland.c
diff options
context:
space:
mode:
Diffstat (limited to 'video/out/vo_wayland.c')
-rw-r--r--video/out/vo_wayland.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/video/out/vo_wayland.c b/video/out/vo_wayland.c
index 715db800d2..d9b953b7b9 100644
--- a/video/out/vo_wayland.c
+++ b/video/out/vo_wayland.c
@@ -805,7 +805,7 @@ static int reconfig(struct vo *vo, struct mp_image_params *fmt, int flags)
buffer_pool_reinit(p, &p->osd_bufpool, MAX_OSD_PARTS, p->width, p->height,
&fmttable[DEFAULT_ALPHA_FORMAT_ENTRY], p->wl->display.shm);
- vo_wayland_config(vo, vo->dwidth, vo->dheight, flags);
+ vo_wayland_config(vo, flags);
if (p->wl->window.events & VO_EVENT_RESIZE)
resize(p);