diff options
author | gramanas <anastasis.gramm2@gmail.com> | 2024-06-06 13:41:08 +0300 |
---|---|---|
committer | gramanas <anastasis.gramm2@gmail.com> | 2024-06-06 13:41:08 +0300 |
commit | eb5d40f92c6d2d1d7491c350cbdcef2e8bf96e06 (patch) | |
tree | afe523416d2cd5c57f403dd5a36d28a9c513ed30 /src/vksetup.h | |
parent | a6501b5d7ad204c3b998c843c7ed68ef7be323ba (diff) | |
download | cgame-eb5d40f92c6d2d1d7491c350cbdcef2e8bf96e06.tar.gz cgame-eb5d40f92c6d2d1d7491c350cbdcef2e8bf96e06.tar.bz2 cgame-eb5d40f92c6d2d1d7491c350cbdcef2e8bf96e06.zip |
build changes
Diffstat (limited to 'src/vksetup.h')
-rw-r--r-- | src/vksetup.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/vksetup.h b/src/vksetup.h index 273a785..608975b 100644 --- a/src/vksetup.h +++ b/src/vksetup.h @@ -47,6 +47,10 @@ #include <shaderc/shaderc.h> +#define VMA_STATIC_VULKAN_FUNCTIONS 0 +#define VMA_DYNAMIC_VULKAN_FUNCTIONS 1 +#include "vk_mem_alloc.h" + #include "../lib/cglm/include/cglm/cglm.h" #define VK_ARRAY_LEN(arr) sizeof((arr))/sizeof((arr)[0]) @@ -192,6 +196,8 @@ typedef struct vks_context { vks_image color_image; vks_image depth_image; + VmaAllocator allocator; + VkSampleCountFlagBits msaa_samples; } vks_context; |