summaryrefslogtreecommitdiffstats
path: root/video/out/gl_wayland.c
diff options
context:
space:
mode:
Diffstat (limited to 'video/out/gl_wayland.c')
-rw-r--r--video/out/gl_wayland.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/video/out/gl_wayland.c b/video/out/gl_wayland.c
index 83c8af7503..a168c032c2 100644
--- a/video/out/gl_wayland.c
+++ b/video/out/gl_wayland.c
@@ -146,10 +146,7 @@ static void egl_create_window(struct vo_wayland_state *wl)
wl_display_dispatch_pending(wl->display.display);
}
-static bool config_window_wayland(struct MPGLContext *ctx,
- uint32_t d_width,
- uint32_t d_height,
- uint32_t flags)
+static bool config_window_wayland(struct MPGLContext *ctx, int flags)
{
struct vo_wayland_state * wl = ctx->vo->wayland;
bool enable_alpha = !!(flags & VOFLAG_ALPHA);