Gems/Atom

Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com>
This commit is contained in:
Esteban Papp
2021-08-20 17:57:02 -07:00
parent 257557c692
commit c19c4af1e1
23 changed files with 44 additions and 61 deletions
@@ -241,8 +241,6 @@ namespace ImageProcessingAtom
// clone this image-object's contents
IImageObject* CImageObject::Clone(uint32_t maxMipCount) const
{
const EPixelFormat srcPixelformat = GetPixelFormat();
IImageObject* outImage = AllocateImage(maxMipCount);
AZ::u32 mips = outImage->GetMipCount();