Skip to content

Commit

Permalink
vulkan: Fix build issue due to missing VK_RESULT_RANGE_SIZE (flutter#…
Browse files Browse the repository at this point in the history
  • Loading branch information
gnoliyil authored Mar 5, 2021
1 parent f751d04 commit 968e69d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions vulkan/vulkan_interface.cc
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,10 @@ std::string VulkanResultToString(VkResult result) {
return "VK_ERROR_VALIDATION_FAILED_EXT";
case VK_ERROR_INVALID_SHADER_NV:
return "VK_ERROR_INVALID_SHADER_NV";
#if VK_HEADER_VERSION < 140
case VK_RESULT_RANGE_SIZE:
return "VK_RESULT_RANGE_SIZE";
#endif
case VK_RESULT_MAX_ENUM:
return "VK_RESULT_MAX_ENUM";
case VK_ERROR_INVALID_EXTERNAL_HANDLE:
Expand Down

0 comments on commit 968e69d

Please sign in to comment.