forked from MoonsideGames/Refresh
remove cursed typedef
parent
ab941a68df
commit
fa61cd4653
|
@ -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 */
|
||||||
|
|
Loading…
Reference in New Issue