GRAPHICS: replace deprecated operator

This commit is contained in:
Misty De Meo 2024-07-02 17:49:19 -07:00 committed by Filippos Karapetis
parent c5948672ff
commit 81f566a71b

View file

@ -41,7 +41,7 @@ ManagedSurface::ManagedSurface(const ManagedSurface &surf) :
w(_innerSurface.w), h(_innerSurface.h), pitch(_innerSurface.pitch), format(_innerSurface.format),
_disposeAfterUse(DisposeAfterUse::NO), _owner(nullptr),
_transparentColor(0), _transparentColorSet(false), _palette(nullptr) {
*this = surf;
this->copyFrom(surf);
}
ManagedSurface::ManagedSurface(int width, int height) :