From f24d0725ca00edb49614fb0b70962129f42d83b4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timm=20B=C3=A4der?= Date: Tue, 10 Apr 2018 09:53:48 +0200 Subject: [PATCH] vulkancontext: Add new error enum --- gdk/gdkvulkancontext.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/gdk/gdkvulkancontext.c b/gdk/gdkvulkancontext.c index fec3ddef13..ef5f0d808f 100644 --- a/gdk/gdkvulkancontext.c +++ b/gdk/gdkvulkancontext.c @@ -185,6 +185,10 @@ gdk_vulkan_strerror (VkResult result) #if VK_HEADER_VERSION >= 64 case VK_ERROR_NOT_PERMITTED_EXT: return "The caller does not have sufficient privileges."; +#endif +#if VK_HEADER_VERSION >= 72 + case VK_ERROR_FRAGMENTATION_EXT: + return "A descriptor pool creation has failed due to fragmentation"; #endif case VK_RESULT_RANGE_SIZE: case VK_RESULT_MAX_ENUM: