summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTimm Bäder <mail@baedert.org>2018-04-10 09:53:48 +0200
committerTimm Bäder <mail@baedert.org>2018-04-10 09:53:48 +0200
commitf24d0725ca00edb49614fb0b70962129f42d83b4 (patch)
treedaa8a7d84e19421ef7cb59387a7a1c155297958b
parent3db4f805ee00a34f41dc05e1fb949f3ad8bbb3f4 (diff)
downloadgtk+-f24d0725ca00edb49614fb0b70962129f42d83b4.tar.gz
vulkancontext: Add new error enum
-rw-r--r--gdk/gdkvulkancontext.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/gdk/gdkvulkancontext.c b/gdk/gdkvulkancontext.c
index fec3ddef13..ef5f0d808f 100644
--- a/gdk/gdkvulkancontext.c
+++ b/gdk/gdkvulkancontext.c
@@ -186,6 +186,10 @@ gdk_vulkan_strerror (VkResult result)
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:
default: