From ce3d5fcb0a14e93d815dea68e124e03cc852e837 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timm=20B=C3=A4der?= Date: Tue, 13 Nov 2018 15:28:28 +0100 Subject: [PATCH] vulkancontext: Add missing error switch --- gdk/gdkvulkancontext.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/gdk/gdkvulkancontext.c b/gdk/gdkvulkancontext.c index 1546f9d01c..f93997c23e 100644 --- a/gdk/gdkvulkancontext.c +++ b/gdk/gdkvulkancontext.c @@ -190,6 +190,11 @@ gdk_vulkan_strerror (VkResult result) case VK_ERROR_FRAGMENTATION_EXT: return "A descriptor pool creation has failed due to fragmentation"; #endif +#if VK_HEADER_VERSION >= 89 + case VK_ERROR_INVALID_DRM_FORMAT_MODIFIER_PLANE_LAYOUT_EXT: + return "Invalid DRM format modifier plane layout"; +#endif + case VK_RESULT_RANGE_SIZE: case VK_RESULT_MAX_ENUM: default: