Commit c3a32605f8ad15c140005990826e404d673addd3

Ryan C. Gordon 2020-11-09T04:55:15

testvulkan: Patched to compile with SDL's internal Vulkan headers.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
diff --git a/test/testvulkan.c b/test/testvulkan.c
index 14e2cdf..86e0954 100644
--- a/test/testvulkan.c
+++ b/test/testvulkan.c
@@ -164,8 +164,7 @@ static const char *getVulkanResultString(VkResult result)
         return "VK_ERROR_OUT_OF_POOL_MEMORY_KHR";
     case VK_ERROR_INVALID_SHADER_NV:
         return "VK_ERROR_INVALID_SHADER_NV";
-    case VK_RESULT_MAX_ENUM:
-    case VK_RESULT_RANGE_SIZE:
+    default:
         break;
     }
     if(result < 0)