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 fe20336a9e..fb6d91dacd 100644
--- a/video/out/vulkan/context_wayland.c
+++ b/video/out/vulkan/context_wayland.c
@@ -123,10 +123,7 @@ static bool resize(struct ra_ctx *ctx)
static bool wayland_vk_reconfig(struct ra_ctx *ctx)
{
- if (!vo_wayland_reconfig(ctx->vo))
- return false;
-
- return true;
+ return vo_wayland_reconfig(ctx->vo);
}
static int wayland_vk_control(struct ra_ctx *ctx, int *events, int request, void *arg)