diff options
Diffstat (limited to 'video/out/vulkan/context_wayland.c')
-rw-r--r-- | video/out/vulkan/context_wayland.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/video/out/vulkan/context_wayland.c b/video/out/vulkan/context_wayland.c index d3da628137..6abec91aaf 100644 --- a/video/out/vulkan/context_wayland.c +++ b/video/out/vulkan/context_wayland.c @@ -110,7 +110,8 @@ static void wayland_vk_swap_buffers(struct ra_ctx *ctx) queue_new_sync(wl); } - vo_wayland_wait_frame(wl); + if (!wl->opts->disable_vsync) + vo_wayland_wait_frame(wl, wl->opts->frame_offset); if (wl->presentation) wayland_sync_swap(wl); |