[Scummvm-git-logs] scummvm master -> 4348b6495cef1f1873c3ef3f0aca0373d947bcf8

npjg nathanael.gentrydb8 at gmail.com
Wed Jun 10 14:47:44 UTC 2020


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:
4348b6495c DIRECTOR: Remove unhelpful blit warning


Commit: 4348b6495cef1f1873c3ef3f0aca0373d947bcf8
    https://github.com/scummvm/scummvm/commit/4348b6495cef1f1873c3ef3f0aca0373d947bcf8
Author: Nathanael Gentry (nathanael.gentrydb8 at gmail.com)
Date: 2020-06-10T10:47:17-04:00

Commit Message:
DIRECTOR: Remove unhelpful blit warning

Changed paths:
    engines/director/ink.cpp


diff --git a/engines/director/ink.cpp b/engines/director/ink.cpp
index a329ff9623..c49378a9e7 100644
--- a/engines/director/ink.cpp
+++ b/engines/director/ink.cpp
@@ -34,9 +34,6 @@ void Score::inkBasedBlit(Graphics::ManagedSurface *maskSurface, const Graphics::
 	bool nullMask = false;
 
 	drawRect.clip(Common::Rect(_maskSurface->w, _maskSurface->h));
-	if (maskSurface->w != drawRect.width() || maskSurface->h != drawRect.height()) {
-		warning("Score::inkBasedBlit: Mismatched dimensions of mask surface and drawRect: %d", spriteId);
-	}
 
 	maskSurface->transBlitFrom(*_maskSurface, drawRect, Common::Point(0, 0), _stageColor);
 




More information about the Scummvm-git-logs mailing list