summaryrefslogtreecommitdiff
path: root/src/renderer/backends/backend_vulkan.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/renderer/backends/backend_vulkan.h')
-rw-r--r--src/renderer/backends/backend_vulkan.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/renderer/backends/backend_vulkan.h b/src/renderer/backends/backend_vulkan.h
index 8c6b772..0114d7a 100644
--- a/src/renderer/backends/backend_vulkan.h
+++ b/src/renderer/backends/backend_vulkan.h
@@ -28,6 +28,12 @@ typedef struct queue_family_indices {
typedef struct gpu_swapchain {
VkSwapchainKHR handle;
+ arena swapchain_arena;
+ VkExtent2D extent;
+ VkSurfaceFormatKHR image_format;
+ VkPresentModeKHR present_mode;
+ VkImage* images;
+ u32 image_count;
} gpu_swapchain;
typedef struct gpu_device {