[Scummvm-git-logs] scummvm master -> 86f9731baeaf5b937ea10eba592f098821239b97

bluegr noreply at scummvm.org
Sun Jun 30 13:35:44 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:
86f9731bae GRAPHICS: Only invalidate the updated area of the screen in ManagedSurface::blitFrom


Commit: 86f9731baeaf5b937ea10eba592f098821239b97
    https://github.com/scummvm/scummvm/commit/86f9731baeaf5b937ea10eba592f098821239b97
Author: Cameron Cawley (ccawley2011 at gmail.com)
Date: 2024-06-30T16:35:41+03:00

Commit Message:
GRAPHICS: Only invalidate the updated area of the screen in ManagedSurface::blitFrom

Changed paths:
    graphics/managed_surface.cpp


diff --git a/graphics/managed_surface.cpp b/graphics/managed_surface.cpp
index 4b6c6d1dfe5..0cccb33f242 100644
--- a/graphics/managed_surface.cpp
+++ b/graphics/managed_surface.cpp
@@ -497,7 +497,7 @@ void ManagedSurface::blitFromInner(const Surface &src, const Common::Rect &srcRe
 		}
 	}
 
-	addDirtyRect(Common::Rect(0, 0, this->w, this->h));
+	addDirtyRect(destRect);
 }
 
 void ManagedSurface::transBlitFrom(const Surface &src, uint32 transColor, bool flipped,




More information about the Scummvm-git-logs mailing list