From fd35ce623b6f4187239791ad3d932e85f77bb66e Mon Sep 17 00:00:00 2001 From: Stephen Anthony Date: Thu, 9 May 2024 20:10:55 -0230 Subject: [PATCH] Revert "More cleanups." This reverts commit bda71d1eb6ed32d7e52fa91fbd0a807e000e2478. Oops, a little too eager here. --- src/emucore/FBSurface.hxx | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/emucore/FBSurface.hxx b/src/emucore/FBSurface.hxx index ceed81fbd..094c73588 100644 --- a/src/emucore/FBSurface.hxx +++ b/src/emucore/FBSurface.hxx @@ -285,6 +285,10 @@ class FBSurface struct Attributes { bool blending{false}; // Blending is enabled uInt32 blendalpha{100}; // Alpha to use in blending mode (0-100%) + + bool operator==(const Attributes& other) const { + return blendalpha == other.blendalpha && blending == other.blending; + } }; /**