Fix convertBGRA order in GEVulkanTexture::reloadInternal

Image manipulator should work on original color data
This commit is contained in:
Benau 2022-04-13 10:04:28 +08:00
parent 3fe53751c4
commit ae8df366fc

View File

@ -339,9 +339,9 @@ void GEVulkanTexture::reloadInternal()
}
m_size = texture_image->getDimension();
convertBGRA(texture_image);
if (m_image_mani)
m_image_mani(texture_image);
convertBGRA(texture_image);
uint8_t* data = (uint8_t*)texture_image->lock();
upload(data);