[Scummvm-git-logs] scummvm master -> 47eb06904fe70780cf735fc67e22c873cb45eb08

bluegr noreply at scummvm.org
Mon Aug 18 20:40:15 UTC 2025


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://api.github.com/repos/scummvm/scummvm .

Summary:
47eb06904f GRAPHICS: Fix parameter documentation for BlendBlit


Commit: 47eb06904fe70780cf735fc67e22c873cb45eb08
    https://github.com/scummvm/scummvm/commit/47eb06904fe70780cf735fc67e22c873cb45eb08
Author: Helco (Helco at users.noreply.github.com)
Date: 2025-08-18T23:40:11+03:00

Commit Message:
GRAPHICS: Fix parameter documentation for BlendBlit

width and height were described as size of the input surface, but actually denoted the output size.

Changed paths:
    graphics/blit.h


diff --git a/graphics/blit.h b/graphics/blit.h
index d6704848c52..147de950a50 100644
--- a/graphics/blit.h
+++ b/graphics/blit.h
@@ -385,8 +385,8 @@ public:
 	 * @param srcPitch source pitch
 	 * @param posX where src will be blitted to (onto dest)
 	 * @param posY where src will be blitted to (onto dest)
-	 * @param width width of the input surface
-	 * @param height height of the input surface
+	 * @param width width of the destination area
+	 * @param height height of the destination area
 	 * @param scaleX scale factor to use when blitting (src / dst) (0.5 for 2x scale) use BlendBlit::SCALE_THRESHOLD
 	 * @param scaleY scale factor to use when blitting (src / dst) (0.5 for 2x scale) use BlendBlit::SCALE_THRESHOLD
 	 * @param scaleXsrcOff since you can only offset the *src pointer to effectivly
@@ -413,8 +413,8 @@ public:
 	 * NOTE: Can only be used with BlendBlit::getSupportedPixelFormat format
 	 * @param dst a pointer to the destination buffer (can be offseted by pixels)
 	 * @param dstPitch destination pitch
-	 * @param width width of the input surface
-	 * @param height height of the input surface
+	 * @param width width of the destination area
+	 * @param height height of the destination area
 	 * @param colorMod the color to multiply by. (0xffffffff does no multiplication and has 0 overhead usually)
 	 * @param blendMode the blending mode to be used
 	 */




More information about the Scummvm-git-logs mailing list