summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/TextureConfig.cpp
diff options
context:
space:
mode:
authoriwubcode <iwubcode@users.noreply.github.com>2024-06-08 14:28:11 -0500
committeriwubcode <iwubcode@users.noreply.github.com>2024-06-08 14:28:11 -0500
commitfa5a6547c6ee13decc20162320d914dc5723c499 (patch)
tree50d027e5c3dfcdbc223fe06ea62f4ae905c58180 /Source/Core/VideoCommon/TextureConfig.cpp
parent6c5ceaa06d26eae901a6baff0efa869cb75415aa (diff)
VideoCommon: add texture type to texture config comparison
Diffstat (limited to 'Source/Core/VideoCommon/TextureConfig.cpp')
-rw-r--r--Source/Core/VideoCommon/TextureConfig.cpp4
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