hwcontext_vulkan: fix VkImageToMemoryCopyEXT.sType

It was copy pasted from the upload path.
Somehow, it was missed, despite god knows how many validation layer runs.
This commit is contained in:
Lynne
2025-11-30 23:10:31 +01:00
parent 17456c553e
commit 932a872dbc

View File

@@ -4458,7 +4458,7 @@ static int vulkan_transfer_host(AVHWFramesContext *hwfc, AVFrame *hwf,
}
} else {
VkImageToMemoryCopyEXT region_info = {
.sType = VK_STRUCTURE_TYPE_MEMORY_TO_IMAGE_COPY_EXT,
.sType = VK_STRUCTURE_TYPE_IMAGE_TO_MEMORY_COPY_EXT,
.imageSubresource = {
.layerCount = 1,
},