mirror of https://github.com/libsdl-org/SDL.git
gpu/vulkan/SDL_gpu_vulkan.c: fix type redefinition error
src/gpu/vulkan/SDL_gpu_vulkan.c:763: error: redefinition of typedef 'VulkanUniformBuffer' src/gpu/vulkan/SDL_gpu_vulkan.c:482: note: previous declaration of 'VulkanUniformBuffer' was here
This commit is contained in:
parent
14edb21aec
commit
e4fcc7b6e7
|
|
@ -755,12 +755,12 @@ typedef struct VulkanPresentData
|
||||||
Uint32 swapchainImageIndex;
|
Uint32 swapchainImageIndex;
|
||||||
} VulkanPresentData;
|
} VulkanPresentData;
|
||||||
|
|
||||||
typedef struct VulkanUniformBuffer
|
struct VulkanUniformBuffer
|
||||||
{
|
{
|
||||||
VulkanBuffer *buffer;
|
VulkanBuffer *buffer;
|
||||||
Uint32 drawOffset;
|
Uint32 drawOffset;
|
||||||
Uint32 writeOffset;
|
Uint32 writeOffset;
|
||||||
} VulkanUniformBuffer;
|
};
|
||||||
|
|
||||||
typedef struct VulkanDescriptorInfo
|
typedef struct VulkanDescriptorInfo
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue