summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/vulkan/vulkan_intel.h2
-rw-r--r--src/intel/vulkan/anv_private.h1
2 files changed, 1 insertions, 2 deletions
diff --git a/include/vulkan/vulkan_intel.h b/include/vulkan/vulkan_intel.h
index 1f77128961..8ede61b53d 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 953d95df2c..6ac0745b66 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>