summaryrefslogtreecommitdiffstats
path: root/video/out/vulkan/context_wayland.c
diff options
context:
space:
mode:
Diffstat (limited to 'video/out/vulkan/context_wayland.c')
-rw-r--r--video/out/vulkan/context_wayland.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/video/out/vulkan/context_wayland.c b/video/out/vulkan/context_wayland.c
index 7e6beb3bdd..98bc8afcfc 100644
--- a/video/out/vulkan/context_wayland.c
+++ b/video/out/vulkan/context_wayland.c
@@ -210,10 +210,7 @@ static bool resize(struct ra_ctx *ctx)
vo_wayland_set_opaque_region(wl, ctx->opts.want_alpha);
wl_surface_set_buffer_scale(wl->surface, wl->scaling);
- bool ok = ra_vk_ctx_resize(ctx, width, height);
- if (!wl->vo_opts->fullscreen && !wl->vo_opts->window_maximized)
- wl_surface_commit(wl->surface);
- return ok;
+ return ra_vk_ctx_resize(ctx, width, height);
}
static bool wayland_vk_reconfig(struct ra_ctx *ctx)