[gtk+] vulkan: Add some missing cases to switch



commit 10ec3e91f5e981d7daadbc0f990c4ca01528b6c8
Author: Matthias Clasen <mclasen redhat com>
Date:   Fri Oct 6 18:29:00 2017 -0400

    vulkan: Add some missing cases to switch

 gdk/gdkvulkancontext.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/gdk/gdkvulkancontext.c b/gdk/gdkvulkancontext.c
index 52cd263..8b6ffa6 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:


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]