hwcontext_vulkan: Fix build
This commit is contained in:
parent
4a42e5a1e2
commit
19473362fc
1 changed files with 1 additions and 1 deletions
|
|
@ -3986,7 +3986,7 @@ static VkImageAspectFlags plane_index_to_aspect(int plane) {
|
|||
if (plane == 2) return VK_IMAGE_ASPECT_MEMORY_PLANE_2_BIT_EXT;
|
||||
if (plane == 3) return VK_IMAGE_ASPECT_MEMORY_PLANE_3_BIT_EXT;
|
||||
|
||||
av_assert2 (false && "Invalid plane index");
|
||||
av_assert2 (0 && "Invalid plane index");
|
||||
return VK_IMAGE_ASPECT_MEMORY_PLANE_0_BIT_EXT;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue