Removed duplicated if statement 'header.colorFormat != opts.colorFormat'

This commit is contained in:
Krzysztof Otręba 2025-01-13 20:20:12 +01:00
parent 3c0be3376e
commit b40a43da31

View file

@ -708,10 +708,6 @@ void idImage::ActuallyLoadImage( bool fromBackEnd, nvrhi::ICommandList* commandL
binarizeReason = va( "binarize: binary file not found '%s'", generatedName.c_str() );
}
else if( header.colorFormat != opts.colorFormat )
{
binarizeReason = va( "binarize: mismatch color format '%s'", generatedName.c_str() );
}
else if( header.colorFormat != opts.colorFormat )
{
binarizeReason = va( "binarize: mismatched color format '%s'", generatedName.c_str() );
}