Răsfoiți Sursa

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

Ryan C. Gordon 4 ani în urmă
părinte
comite
c3a32605f8
1 a modificat fișierele cu 1 adăugiri și 2 ștergeri
  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)