mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-04-20 03:24:59 +00:00
Merge c678d9fa71
into 056b0339be
This commit is contained in:
commit
2c27d042ab
1 changed files with 3 additions and 1 deletions
|
@ -159,7 +159,9 @@ TextureInfo::NameDetails TextureInfo::CalculateTextureName() const
|
|||
const u32 texture_byte = m_ptr[i];
|
||||
|
||||
min = std::min(min, texture_byte);
|
||||
max = std::max(max, texture_byte);
|
||||
// The value 255 can be used as a transparency flag if the tlut is smaller than 255.
|
||||
if (texture_byte != 255 || max == 254)
|
||||
max = std::max(max, texture_byte);
|
||||
}
|
||||
break;
|
||||
case 16384 * 2:
|
||||
|
|
Loading…
Add table
Reference in a new issue