From 0186953b5910a266c28fa1d1726d077a03841ad3 Mon Sep 17 00:00:00 2001 From: Adam Sawicki Date: Thu, 8 Feb 2018 12:55:29 +0100 Subject: [PATCH] Used VK_NO_PROTOTYPES when defining default value for VMA_STATIC_VULKAN_FUNCTIONS. --- src/vk_mem_alloc.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/vk_mem_alloc.h b/src/vk_mem_alloc.h index d135114..7fedc64 100644 --- a/src/vk_mem_alloc.h +++ b/src/vk_mem_alloc.h @@ -1644,7 +1644,7 @@ internally, like: Define to 0 if you are going to provide you own pointers to Vulkan functions via VmaAllocatorCreateInfo::pVulkanFunctions. */ -#ifndef VMA_STATIC_VULKAN_FUNCTIONS +#if !defined(VMA_STATIC_VULKAN_FUNCTIONS) && !defined(VK_NO_PROTOTYPES) #define VMA_STATIC_VULKAN_FUNCTIONS 1 #endif