remove cursed typedef

submit_rewrite
cosmonaut 2021-11-08 14:48:27 -08:00 committed by Beau Blyth
parent ab941a68df
commit fa61cd4653
1 changed files with 3 additions and 9 deletions

View File

@ -46,12 +46,6 @@
#endif /* __GNUC__ */ #endif /* __GNUC__ */
#endif /* REFRESHNAMELESS */ #endif /* REFRESHNAMELESS */
#define VK_DEFINE_HANDLE(object) typedef struct object##_T* object;
VK_DEFINE_HANDLE(VkInstance)
VK_DEFINE_HANDLE(VkDevice)
VK_DEFINE_HANDLE(VkPhysicalDevice)
#include <stdint.h> #include <stdint.h>
#ifdef __cplusplus #ifdef __cplusplus
@ -626,9 +620,9 @@ typedef struct Refresh_SysRenderer
#if REFRESH_DRIVER_VULKAN #if REFRESH_DRIVER_VULKAN
struct struct
{ {
VkInstance instance; void* instance;
VkPhysicalDevice physicalDevice; void* physicalDevice;
VkDevice logicalDevice; void* logicalDevice;
uint32_t queueFamilyIndex; uint32_t queueFamilyIndex;
} vulkan; } vulkan;
#endif /* REFRESH_DRIVER_VULKAN */ #endif /* REFRESH_DRIVER_VULKAN */