VideoCommon: add texture type to texture config comparison

This commit is contained in:
iwubcode 2024-06-08 14:28:11 -05:00
parent 6c5ceaa06d
commit fa5a6547c6
1 changed files with 2 additions and 2 deletions

View File

@ -9,8 +9,8 @@
bool TextureConfig::operator==(const TextureConfig& o) const bool TextureConfig::operator==(const TextureConfig& o) const
{ {
return std::tie(width, height, levels, layers, samples, format, flags) == return std::tie(width, height, levels, layers, samples, format, flags, type) ==
std::tie(o.width, o.height, o.levels, o.layers, o.samples, o.format, o.flags); std::tie(o.width, o.height, o.levels, o.layers, o.samples, o.format, o.flags, o.type);
} }
bool TextureConfig::operator!=(const TextureConfig& o) const bool TextureConfig::operator!=(const TextureConfig& o) const