···803803 return XRT_CAST_PTR_TO_OXR_HANDLE(XrSwapchain, sc);
804804}
805805806806-/*!
807807- * Shared create function for swapchains, called by grahpics API specific
808808- * implementations list below. Does most init, but not @ref xrt_swapchain
809809- * allocation and other API specific things.
810810- *
811811- * @param log Logger set with the current OpenXR function call context.
812812- * @param sess OpenXR session
813813- * @param createInfo Creation info.
814814- * @param sc Swapchain.
815815- * @param[out] out_swapchain Return of the allocated swapchain.
816816- */
817817-XrResult
818818-oxr_swapchain_common_create(struct oxr_logger *log,
819819- struct oxr_session *sess,
820820- const XrSwapchainCreateInfo *createInfo,
821821- struct oxr_swapchain **out_swapchain);
822822-823806824807/*
825808 *
···20001983 {
20011984 bool yes;
20021985 int index;
20032003- } waited;
19861986+ } inflight; // This is the image that the app is working on.
2004198720051988 struct
20061989 {