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:58:49 +1000
committerOmniscient <17525998+omnisci3nce@users.noreply.github.com>2024-05-04 15:58:49 +1000
commit6bd750ef3078c349cca9380bbde24325fb3fedf6 (patch)
treef44e81d08712e36dcc8fa0923e25c06259655108 /src/renderer/backends/backend_vulkan.h
parenta51ef12d8583522ee229a0195a4132652f0f9cd8 (diff)
create image views for swapchain
Diffstat (limited to 'src/renderer/backends/backend_vulkan.h')
-rw-r--r--src/renderer/backends/backend_vulkan.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/renderer/backends/backend_vulkan.h b/src/renderer/backends/backend_vulkan.h
index 0114d7a..9c85683 100644
--- a/src/renderer/backends/backend_vulkan.h
+++ b/src/renderer/backends/backend_vulkan.h
@@ -32,8 +32,9 @@ typedef struct gpu_swapchain {
VkExtent2D extent;
VkSurfaceFormatKHR image_format;
VkPresentModeKHR present_mode;
- VkImage* images;
u32 image_count;
+ VkImage* images;
+ VkImageView* image_views;
} gpu_swapchain;
typedef struct gpu_device {