[Scummvm-git-logs] scummvm master -> 81f566a71b9687a2a7622803e1e10f45ebaf4600
bluegr
noreply at scummvm.org
Wed Jul 3 06:27:16 UTC 2024
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
81f566a71b GRAPHICS: replace deprecated operator
Commit: 81f566a71b9687a2a7622803e1e10f45ebaf4600
https://github.com/scummvm/scummvm/commit/81f566a71b9687a2a7622803e1e10f45ebaf4600
Author: Misty De Meo (mistydemeo at gmail.com)
Date: 2024-07-03T09:27:11+03:00
Commit Message:
GRAPHICS: replace deprecated operator
Changed paths:
graphics/managed_surface.cpp
diff --git a/graphics/managed_surface.cpp b/graphics/managed_surface.cpp
index 40f0ef1e821..45652f99e69 100644
--- a/graphics/managed_surface.cpp
+++ b/graphics/managed_surface.cpp
@@ -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) :
More information about the Scummvm-git-logs
mailing list