Browse Source

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

Ryan C. Gordon 4 years ago
parent
commit
c3a32605f8
1 changed files with 1 additions and 2 deletions
  1. 1 2
      test/testvulkan.c

+ 1 - 2
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)