mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-12-16 04:09:39 +00:00
Merge c678d9fa71 into 04f71e5e6d
This commit is contained in:
commit
375b3198ac
@ -159,6 +159,8 @@ TextureInfo::NameDetails TextureInfo::CalculateTextureName() const
|
|||||||
const u32 texture_byte = m_ptr[i];
|
const u32 texture_byte = m_ptr[i];
|
||||||
|
|
||||||
min = std::min(min, texture_byte);
|
min = std::min(min, 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);
|
max = std::max(max, texture_byte);
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user