struct vk_swapchain
{
VkSwapchainKHR swapchain;
- VkSurfaceKHR surface;
VkSurfaceFormatKHR surf_fmt;
/* image properties */
VkSemaphore frame_done;
};
+#ifdef __cplusplus
+extern "C" {
+#endif
+
/* context */
bool vk_init_ctx(struct vk_ctx *ctx,
uint32_t src_queue_family_index,
uint32_t dst_queue_family_index);
+
+#ifdef __cplusplus
+}
+#endif
+
#endif /* VK_H */