Merge pull request #12845 from iwubcode/texture_config_compare_type

VideoCommon: add texture type to texture config comparison
This commit is contained in:
Admiral H. Curtiss 2024-06-10 22:24:08 +02:00 committed by GitHub
commit 4930567981
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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