Skip to content
Snippets Groups Projects
Unverified Commit d196ce0f authored by Rodrigo Locatti's avatar Rodrigo Locatti Committed by GitHub
Browse files

Merge pull request #3688 from lioncash/nequal

surface_view: Add missing operator!= to ViewParams
parents 4209dba1 5fbe8785
No related branches found
No related tags found
No related merge requests found
......@@ -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
......@@ -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) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment