mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-06-06 06:34:35 +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:
parent
14edb21aec
commit
e4fcc7b6e7
1 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue