aboutsummaryrefslogtreecommitdiff
path: root/src/video_core/texture_cache/surface_view.h
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2020-04-16 00:03:08 -0400
committerLioncash <mathew1800@gmail.com>2020-04-16 00:03:12 -0400
commit5fbe8785d2db2719fb8546d2f9e0ff0f99c02194 (patch)
tree839eaf1821778635bd8e88f0c63b68f02e789994 /src/video_core/texture_cache/surface_view.h
parente33196d4e7687dd29636decd4b52e01b10fe8984 (diff)
surface_view: Add missing operator!= to ViewParams
Provides logical symmetry to the interface.
Diffstat (limited to 'src/video_core/texture_cache/surface_view.h')
-rw-r--r--src/video_core/texture_cache/surface_view.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/video_core/texture_cache/surface_view.h b/src/video_core/texture_cache/surface_view.h
index b17fd11a9..90a8bb0ae 100644
--- a/src/video_core/texture_cache/surface_view.h
+++ b/src/video_core/texture_cache/surface_view.h
@@ -21,6 +21,7 @@ struct ViewParams {
std::size_t Hash() const;
bool operator==(const ViewParams& rhs) const;
+ bool operator!=(const ViewParams& rhs) const;
bool IsLayered() const {
switch (target) {