summaryrefslogtreecommitdiff
path: root/gdk/gdkvulkancontext.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2017-10-06 18:29:00 -0400
committerMatthias Clasen <mclasen@redhat.com>2017-10-06 18:29:00 -0400
commit10ec3e91f5e981d7daadbc0f990c4ca01528b6c8 (patch)
tree309ec5098b8a3ce90fe3c40ff399e24616ecf623 /gdk/gdkvulkancontext.c
parent43c212ac28f5f80e10c49590e569b6450098743f (diff)
downloadgtk+-10ec3e91f5e981d7daadbc0f990c4ca01528b6c8.tar.gz
vulkan: Add some missing cases to switch
Diffstat (limited to 'gdk/gdkvulkancontext.c')
-rw-r--r--gdk/gdkvulkancontext.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gdk/gdkvulkancontext.c b/gdk/gdkvulkancontext.c
index 52cd263b89..8b6ffa66ec 100644
--- a/gdk/gdkvulkancontext.c
+++ b/gdk/gdkvulkancontext.c
@@ -122,6 +122,8 @@ gdk_vulkan_strerror (VkResult result)
return "The application caused the validation layer to fail.";
case VK_ERROR_INVALID_SHADER_NV:
return "One or more shaders failed to compile or link.";
+ case VK_ERROR_OUT_OF_POOL_MEMORY_KHR:
+ case VK_ERROR_INVALID_EXTERNAL_HANDLE_KHR:
case VK_RESULT_RANGE_SIZE:
case VK_RESULT_MAX_ENUM:
default: