[Scummvm-git-logs] scummvm master -> f5f37f444657b512eb2b320c6e6acb6501ec172b

dreammaster noreply at scummvm.org
Sun Mar 9 23:15:03 UTC 2025


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:
f5f37f4446 GRAPHICS: Make ManagedSurface fillRect rect const


Commit: f5f37f444657b512eb2b320c6e6acb6501ec172b
    https://github.com/scummvm/scummvm/commit/f5f37f444657b512eb2b320c6e6acb6501ec172b
Author: Paul Gilbert (dreammaster at scummvm.org)
Date: 2025-03-09T16:14:45-07:00

Commit Message:
GRAPHICS: Make ManagedSurface fillRect rect const

Changed paths:
    graphics/managed_surface.h


diff --git a/graphics/managed_surface.h b/graphics/managed_surface.h
index d315b5541ed..3a68238f9b2 100644
--- a/graphics/managed_surface.h
+++ b/graphics/managed_surface.h
@@ -745,7 +745,7 @@ public:
 	/**
 	 * Fill a rect with a given color.
 	 */
-	void fillRect(Common::Rect r, uint32 color) {
+	void fillRect(const Common::Rect &r, uint32 color) {
 		_innerSurface.fillRect(r, color);
 		addDirtyRect(r);
 	}




More information about the Scummvm-git-logs mailing list