diff options
author | Omniscient <17525998+omnisci3nce@users.noreply.github.com> | 2024-05-04 15:47:54 +1000 |
---|---|---|
committer | Omniscient <17525998+omnisci3nce@users.noreply.github.com> | 2024-05-04 15:47:54 +1000 |
commit | 96adafab8e6bd4b870166e74f6704f71bed338e4 (patch) | |
tree | afb041074881fbb907e2d38b33e42663f5caa891 /src/renderer/backends/backend_vulkan.h | |
parent | 74fd8a8424aeaccfaf7985f4ad2129fd54ae9fba (diff) |
finish swapchain creation
Diffstat (limited to 'src/renderer/backends/backend_vulkan.h')
-rw-r--r-- | src/renderer/backends/backend_vulkan.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/renderer/backends/backend_vulkan.h b/src/renderer/backends/backend_vulkan.h index 8c6b772..1a64e84 100644 --- a/src/renderer/backends/backend_vulkan.h +++ b/src/renderer/backends/backend_vulkan.h @@ -28,6 +28,11 @@ typedef struct queue_family_indices { typedef struct gpu_swapchain { VkSwapchainKHR handle; + arena swapchain_arena; + VkSurfaceFormatKHR image_format; + VkPresentModeKHR present_mode; + VkImage* images; + u32 image_count; } gpu_swapchain; typedef struct gpu_device { |