Procházet zdrojové kódy

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

Ryan C. Gordon před 4 roky
rodič
revize
c3a32605f8
1 změnil soubory, kde provedl 1 přidání a 2 odebrání
  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)