diff options
| author | Admiral H. Curtiss <pikachu025@gmail.com> | 2024-06-10 22:24:08 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-06-10 22:24:08 +0200 |
| commit | 4930567981321dfdc59aac8b3d56dc2c023f9e80 (patch) | |
| tree | 8a2fdebab0cf39cd81e0fa856882ff63d7fff4e3 /Source/Core/VideoCommon/TextureConfig.cpp | |
| parent | e405ad4206f725a6d03b97d0625eb13b3eeb276f (diff) | |
| parent | fa5a6547c6ee13decc20162320d914dc5723c499 (diff) | |
Merge pull request #12845 from iwubcode/texture_config_compare_type
VideoCommon: add texture type to texture config comparison
Diffstat (limited to 'Source/Core/VideoCommon/TextureConfig.cpp')
| -rw-r--r-- | Source/Core/VideoCommon/TextureConfig.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/Core/VideoCommon/TextureConfig.cpp b/Source/Core/VideoCommon/TextureConfig.cpp index 34fd9324df..3d25eac017 100644 --- a/Source/Core/VideoCommon/TextureConfig.cpp +++ b/Source/Core/VideoCommon/TextureConfig.cpp @@ -9,8 +9,8 @@ bool TextureConfig::operator==(const TextureConfig& o) const { - return std::tie(width, height, levels, layers, samples, format, flags) == - std::tie(o.width, o.height, o.levels, o.layers, o.samples, o.format, o.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, o.type); } bool TextureConfig::operator!=(const TextureConfig& o) const |
