From 680f52f839b08d7a7f252a7dc9027956a18e8b3f Mon Sep 17 00:00:00 2001 From: Jon Ashburn Date: Tue, 15 Dec 2015 07:59:20 -0700 Subject: layers: Fix debug_report extension number --- include/vulkan/vk_lunarg_debug_report.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include') diff --git a/include/vulkan/vk_lunarg_debug_report.h b/include/vulkan/vk_lunarg_debug_report.h index ec301418..cb81ac58 100644 --- a/include/vulkan/vk_lunarg_debug_report.h +++ b/include/vulkan/vk_lunarg_debug_report.h @@ -34,7 +34,7 @@ #include "vulkan/vulkan.h" -#define VK_EXT_LUNARG_DEBUG_REPORT_EXTNSION_NUMBER 11 +#define VK_EXT_LUNARG_DEBUG_REPORT_EXTENSION_NUMBER 11 #define VK_EXT_LUNARG_DEBUG_REPORT_EXTENSION_REVISION 1 #ifdef __cplusplus extern "C" @@ -106,7 +106,7 @@ typedef enum _DEBUG_REPORT_ERROR DEBUG_REPORT_CALLBACK_REF, // Callbacks were not destroyed prior to calling DestroyInstance } DEBUG_REPORT_ERROR; -#define VK_DEBUG_REPORT_ENUM_EXTEND(type, id) ((type)(VK_EXT_LUNARG_DEBUG_REPORT_EXTNSION_NUMBER * -1000 + (id))) +#define VK_DEBUG_REPORT_ENUM_EXTEND(type, id) ((type)(VK_EXT_LUNARG_DEBUG_REPORT_EXTENSION_NUMBER * -1000 + (id))) #define VK_OBJECT_TYPE_MSG_CALLBACK VK_DEBUG_REPORT_ENUM_EXTEND(VkDebugReportObjectTypeLUNARG, 0) #define VK_ERROR_VALIDATION_FAILED VK_DEBUG_REPORT_ENUM_EXTEND(VkResult, 0) -- cgit v1.2.3