Remove duplicate check

master
Ansariel 2024-12-19 00:01:43 +01:00
parent b15fb708e3
commit c753c19231
1 changed files with 0 additions and 8 deletions

View File

@ -2444,14 +2444,6 @@ bool LLImageGL::scaleDown(S32 desired_discard)
return false;
}
// <FS:Beq> - Crash on startup with invalid format
if (mFormatInternal == -1)
{
// format not initialised, can't downscale
return false;
}
// </FS:Beq>
desired_discard = llmin(desired_discard, mMaxDiscardLevel);
if (desired_discard <= mCurrentDiscardLevel)