diff options
author | Lioncash <mathew1800@gmail.com> | 2020-04-16 06:03:08 +0200 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2020-04-16 06:03:12 +0200 |
commit | 5fbe8785d2db2719fb8546d2f9e0ff0f99c02194 (patch) | |
tree | 839eaf1821778635bd8e88f0c63b68f02e789994 /src/video_core/texture_cache/surface_view.cpp | |
parent | Merge pull request #3612 from ReinUsesLisp/red (diff) | |
download | yuzu-5fbe8785d2db2719fb8546d2f9e0ff0f99c02194.tar yuzu-5fbe8785d2db2719fb8546d2f9e0ff0f99c02194.tar.gz yuzu-5fbe8785d2db2719fb8546d2f9e0ff0f99c02194.tar.bz2 yuzu-5fbe8785d2db2719fb8546d2f9e0ff0f99c02194.tar.lz yuzu-5fbe8785d2db2719fb8546d2f9e0ff0f99c02194.tar.xz yuzu-5fbe8785d2db2719fb8546d2f9e0ff0f99c02194.tar.zst yuzu-5fbe8785d2db2719fb8546d2f9e0ff0f99c02194.zip |
Diffstat (limited to '')
-rw-r--r-- | src/video_core/texture_cache/surface_view.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/video_core/texture_cache/surface_view.cpp b/src/video_core/texture_cache/surface_view.cpp index 57a1f5803..6b5f5984b 100644 --- a/src/video_core/texture_cache/surface_view.cpp +++ b/src/video_core/texture_cache/surface_view.cpp @@ -20,4 +20,8 @@ bool ViewParams::operator==(const ViewParams& rhs) const { std::tie(rhs.base_layer, rhs.num_layers, rhs.base_level, rhs.num_levels, rhs.target); } +bool ViewParams::operator!=(const ViewParams& rhs) const { + return !operator==(rhs); +} + } // namespace VideoCommon |