diff options
Diffstat (limited to 'video/out/vulkan/context.h')
-rw-r--r-- | video/out/vulkan/context.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/video/out/vulkan/context.h b/video/out/vulkan/context.h index 0b420e2daa..6ae64bb0f5 100644 --- a/video/out/vulkan/context.h +++ b/video/out/vulkan/context.h @@ -7,6 +7,9 @@ struct ra_vk_ctx_params { // See ra_swapchain_fns.get_vsync. void (*get_vsync)(struct ra_ctx *ctx, struct vo_vsync_info *info); + // In case something special needs to be done when starting a frame. + bool (*start_frame)(struct ra_ctx *ctx); + // In case something special needs to be done on the buffer swap. void (*swap_buffers)(struct ra_ctx *ctx); }; |