diff options
| author | Stenzek <stenzek@gmail.com> | 2019-02-15 11:59:50 +1000 |
|---|---|---|
| committer | Stenzek <stenzek@gmail.com> | 2019-02-19 16:57:54 +1000 |
| commit | f039149198657c1891e1c6462ed30c31ed4b8486 (patch) | |
| tree | b914fd7b0ef9c937e9334a880a49a26a26f17c8f /Source/Core/VideoCommon/TextureConfig.cpp | |
| parent | 933f3ba008942cba96ed623c25e61d6ea86582fe (diff) | |
Move most backend functionality to VideoCommon
Diffstat (limited to 'Source/Core/VideoCommon/TextureConfig.cpp')
| -rw-r--r-- | Source/Core/VideoCommon/TextureConfig.cpp | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/Source/Core/VideoCommon/TextureConfig.cpp b/Source/Core/VideoCommon/TextureConfig.cpp index 0407576af6..98a9dbc4f3 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, rendertarget) == - std::tie(o.width, o.height, o.levels, o.layers, o.samples, o.format, o.rendertarget); + 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); } bool TextureConfig::operator!=(const TextureConfig& o) const @@ -38,8 +38,3 @@ size_t TextureConfig::GetMipStride(u32 level) const { return AbstractTexture::CalculateStrideForFormat(format, std::max(width >> level, 1u)); } - -bool TextureConfig::IsMultisampled() const -{ - return samples > 1; -} |
