Explorar o código

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

Ryan C. Gordon %!s(int64=4) %!d(string=hai) anos
pai
achega
c3a32605f8
Modificáronse 1 ficheiros con 1 adicións e 2 borrados
  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)