Merge pull request #8349 from Robyt3/Mapitem-Image-Cleanup

Remove unused `CImageInfo::ImageFormatFromInt`
This commit is contained in:
heinrich5991 2024-05-12 01:16:45 +00:00 committed by GitHub
commit 0c66786fb6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -122,13 +122,6 @@ public:
{
return m_Width * m_Height * PixelSize(m_Format);
}
static EImageFormat ImageFormatFromInt(int Format)
{
if(Format < (int)FORMAT_RGB || Format > (int)FORMAT_SINGLE_COMPONENT)
return FORMAT_ERROR;
return (EImageFormat)Format;
}
};
/*