From a62d0aea52df81648b9d429ffd5b3e8ef190ed52 Mon Sep 17 00:00:00 2001 From: Danny Holman Date: Wed, 27 Nov 2024 21:59:02 -0600 Subject: render: centralize the type definitions Centralize the type definitions for the Vulkan renderer. This removes the possibility for cyclic dependencies in the include paths. Signed-off-by: Danny Holman --- render/vulkan/fence.h | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) (limited to 'render/vulkan/fence.h') diff --git a/render/vulkan/fence.h b/render/vulkan/fence.h index 34af87d..16e309d 100644 --- a/render/vulkan/fence.h +++ b/render/vulkan/fence.h @@ -1,14 +1,7 @@ #ifndef VKFENCE_H #define VKFENCE_H -#include "device.h" -#include -#include - -struct vkfence { - VkFence handle; - int signal; -}; +#include "vk_types.h" struct vkfence* create_vkfence(struct vkdev *dev, uint8_t signal); void destroy_vkfence(struct vkfence *fence, struct vkdev *dev); -- cgit v1.2.3