diff options
-rw-r--r-- | include/vulkan/vulkan_intel.h | 2 | ||||
-rw-r--r-- | src/intel/vulkan/anv_private.h | 1 |
2 files changed, 1 insertions, 2 deletions
diff --git a/include/vulkan/vulkan_intel.h b/include/vulkan/vulkan_intel.h index 1f77128..8ede61b 100644 --- a/include/vulkan/vulkan_intel.h +++ b/include/vulkan/vulkan_intel.h @@ -44,7 +44,7 @@ typedef struct VkDmaBufImageCreateInfo_ typedef VkResult (VKAPI_PTR *PFN_vkCreateDmaBufImageINTEL)(VkDevice device, const VkDmaBufImageCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkDeviceMemory* pMem, VkImage* pImage); -#ifdef VK_PROTOTYPES +#ifndef VK_NO_PROTOTYPES VKAPI_ATTR VkResult VKAPI_CALL vkCreateDmaBufImageINTEL( VkDevice _device, diff --git a/src/intel/vulkan/anv_private.h b/src/intel/vulkan/anv_private.h index 953d95d..6ac0745 100644 --- a/src/intel/vulkan/anv_private.h +++ b/src/intel/vulkan/anv_private.h @@ -54,7 +54,6 @@ typedef uint32_t xcb_window_t; struct anv_l3_config; -#define VK_PROTOTYPES #include <vulkan/vulkan.h> #include <vulkan/vulkan_intel.h> #include <vulkan/vk_icd.h> |