This commit is contained in:
Бранимир Караџић 2021-02-23 12:54:14 -08:00
parent fcc44dc107
commit b157d15e43

View File

@ -2641,7 +2641,6 @@ VK_IMPORT_DEVICE
{
TextureVK& texture = m_textures[_handle.idx];
VkImage srcImage = texture.m_textureImage;
uint32_t height = bx::uint32_max(1, texture.m_height >> _mip);
uint32_t pitch = texture.m_readback.pitch(_mip);
uint32_t size = height * pitch;