From eb5d40f92c6d2d1d7491c350cbdcef2e8bf96e06 Mon Sep 17 00:00:00 2001 From: gramanas Date: Thu, 6 Jun 2024 13:41:08 +0300 Subject: build changes --- src/vksetup.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/vksetup.h') 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 +#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; -- cgit v1.2.3