Commit 0dcdfae2 authored by Connor McAdams's avatar Connor McAdams Committed by Alexandre Julliard

wined3d: Fix comment in wined3d_texture_vk_download_data().

For download, vkCmdCopyImageToBuffer() is used, not vkCmdCopyBufferToImage(). Signed-off-by: 's avatarConnor McAdams <cmcadams@codeweavers.com> Signed-off-by: 's avatarHenri Verbeet <hverbeet@codeweavers.com> Signed-off-by: 's avatarAlexandre Julliard <julliard@winehq.org>
parent 820c7731
......@@ -4953,7 +4953,7 @@ static void wined3d_texture_vk_download_data(struct wined3d_context *context,
return;
}
/* We need to be outside of a render pass for vkCmdPipelineBarrier() and vkCmdCopyBufferToImage() calls below. */
/* We need to be outside of a render pass for vkCmdPipelineBarrier() and vkCmdCopyImageToBuffer() calls below. */
wined3d_context_vk_end_current_render_pass(context_vk);
if (!dst_bo_addr->buffer_object)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment