summaryrefslogtreecommitdiff
path: root/src/renderer/backends/backend_vulkan.h
diff options
context:
space:
mode:
authorOmniscient <17525998+omnisci3nce@users.noreply.github.com>2024-05-04 15:47:54 +1000
committerOmniscient <17525998+omnisci3nce@users.noreply.github.com>2024-05-04 15:47:54 +1000
commit96adafab8e6bd4b870166e74f6704f71bed338e4 (patch)
treeafb041074881fbb907e2d38b33e42663f5caa891 /src/renderer/backends/backend_vulkan.h
parent74fd8a8424aeaccfaf7985f4ad2129fd54ae9fba (diff)
finish swapchain creation
Diffstat (limited to 'src/renderer/backends/backend_vulkan.h')
-rw-r--r--src/renderer/backends/backend_vulkan.h5
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 {