From ab5f9ae9d8b5fb34ea87da79e80db99fd3c91219 Mon Sep 17 00:00:00 2001 From: Ryan Pavlik Date: Tue, 13 Apr 2021 12:30:15 -0500 Subject: [PATCH] c/main: Add comp_target docs. --- src/xrt/compositor/main/comp_target.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/xrt/compositor/main/comp_target.h b/src/xrt/compositor/main/comp_target.h index 513f9cda4..9eb791a70 100644 --- a/src/xrt/compositor/main/comp_target.h +++ b/src/xrt/compositor/main/comp_target.h @@ -123,6 +123,8 @@ struct comp_target /*! * Present the image at index to the screen. + * + * @pre @ref acquire succeeded for the same @p semaphore and @p index you are passing */ VkResult (*present)(struct comp_target *ct, VkQueue queue,