mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-04-21 23:05:49 +00:00
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:
@@ -755,12 +755,12 @@ typedef struct VulkanPresentData
|
||||
Uint32 swapchainImageIndex;
|
||||
} VulkanPresentData;
|
||||
|
||||
typedef struct VulkanUniformBuffer
|
||||
struct VulkanUniformBuffer
|
||||
{
|
||||
VulkanBuffer *buffer;
|
||||
Uint32 drawOffset;
|
||||
Uint32 writeOffset;
|
||||
} VulkanUniformBuffer;
|
||||
};
|
||||
|
||||
typedef struct VulkanDescriptorInfo
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user