From d2d63f0aac251af16acd5ef283795b95cdf6d7df Mon Sep 17 00:00:00 2001 From: Bradley Austin Davis Date: Thu, 8 Feb 2024 17:08:13 -0800 Subject: [PATCH] Prevent warning if VK_NO_PROTOTYPES is already defined (#855) --- lib/vk_funcs.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/vk_funcs.h b/lib/vk_funcs.h index 078e91ce9f..8f73fbd859 100644 --- a/lib/vk_funcs.h +++ b/lib/vk_funcs.h @@ -21,7 +21,9 @@ #ifndef _VK_FUNCS_H_ #define _VK_FUNCS_H_ +#if !defined(VK_NO_PROTOTYPES) #define VK_NO_PROTOTYPES +#endif #include "vulkan/vk_platform.h" #include "vulkan/vulkan_core.h"