Skip to content

Commit

Permalink
Include new Vulkan enum values only on Fuchsia (flutter#3658)
Browse files Browse the repository at this point in the history
Fixes build.
  • Loading branch information
mikejurka authored May 8, 2017
1 parent 15cb187 commit 0304668
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 @@ -62,10 +62,12 @@ std::string VulkanResultToString(VkResult result) {
return "VK_RESULT_RANGE_SIZE";
case VK_RESULT_MAX_ENUM:
return "VK_RESULT_MAX_ENUM";
#if OS_FUCHSIA
case VK_ERROR_INVALID_EXTERNAL_HANDLE_KHX:
return "VK_ERROR_INVALID_EXTERNAL_HANDLE_KHX";
case VK_ERROR_OUT_OF_POOL_MEMORY_KHR:
return "VK_ERROR_OUT_OF_POOL_MEMORY_KHR";
#endif
}
return "Unknown Error";
}
Expand Down

0 comments on commit 0304668

Please sign in to comment.