Revert "Derive operator!= from operator== (#1660)"

This reverts commit 993879a2ed.
This commit is contained in:
ISSOtm
2026-04-26 14:43:57 +02:00
committed by Rangi
parent decc5f7153
commit 6bcd79b997
5 changed files with 6 additions and 0 deletions
+1
View File
@@ -40,6 +40,7 @@ struct Rgba {
}
bool operator==(Rgba const &rhs) const { return toCSS() == rhs.toCSS(); }
bool operator!=(Rgba const &rhs) const { return !operator==(rhs); }
// CGB colors are RGB555, so we use bit 15 to signify that the color is transparent instead
// Since the rest of the bits don't matter then, we return 0x8000 exactly.