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.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/video/out/vulkan/context_wayland.c b/video/out/vulkan/context_wayland.c
index 0770004b4c..ab54789890 100644
--- a/video/out/vulkan/context_wayland.c
+++ b/video/out/vulkan/context_wayland.c
@@ -28,11 +28,7 @@ struct priv {
static bool wayland_vk_check_visible(struct ra_ctx *ctx)
{
- struct vo_wayland_state *wl = ctx->vo->wl;
- bool render = !wl->hidden || wl->opts->disable_vsync;
- wl->frame_wait = true;
-
- return render;
+ return vo_wayland_check_visible(ctx->vo);
}
static void wayland_vk_swap_buffers(struct ra_ctx *ctx)