Gems/Atom
Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com>
This commit is contained in:
@@ -603,8 +603,6 @@ namespace ImageProcessingAtom
|
||||
const bool isCompressing = isSourceFormatUncompressed ? true : false;
|
||||
const EPixelFormat outputFormat = isCompressing ? destinationFormat : sourceFormat;
|
||||
|
||||
const uint32_t imageWidth = m_image->Get()->GetWidth(0);
|
||||
const uint32_t imageHeight = m_image->Get()->GetHeight(0);
|
||||
ICompressorPtr compressor = ICompressor::FindCompressor(outputFormat, m_input->m_presetSetting.m_destColorSpace, isCompressing);
|
||||
|
||||
// find out if the compressor has a preference to any specific colorspace
|
||||
|
||||
@@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user