[Scummvm-git-logs] scummvm master -> 13996ea3d147f7903101b3d96b2e3341846a16ca

eriktorbjorn noreply at scummvm.org
Sun Jan 28 13:08:12 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:
13996ea3d1 SURFACESDL: Remove redundant _mouseOrigSurface check


Commit: 13996ea3d147f7903101b3d96b2e3341846a16ca
    https://github.com/scummvm/scummvm/commit/13996ea3d147f7903101b3d96b2e3341846a16ca
Author: Torbjörn Andersson (eriktorbjorn at users.sourceforge.net)
Date: 2024-01-28T14:07:33+01:00

Commit Message:
SURFACESDL: Remove redundant _mouseOrigSurface check

It's already checked a few lines above.

Changed paths:
    backends/graphics/surfacesdl/surfacesdl-graphics.cpp


diff --git a/backends/graphics/surfacesdl/surfacesdl-graphics.cpp b/backends/graphics/surfacesdl/surfacesdl-graphics.cpp
index 6990aa19c73..aa7406215e1 100644
--- a/backends/graphics/surfacesdl/surfacesdl-graphics.cpp
+++ b/backends/graphics/surfacesdl/surfacesdl-graphics.cpp
@@ -2238,10 +2238,6 @@ void SurfaceSdlGraphicsManager::blitCursor() {
 		return;
 	}
 
-	if (!_mouseOrigSurface) {
-		return;
-	}
-
 	_cursorNeedsRedraw = true;
 
 	int cursorScale;




More information about the Scummvm-git-logs mailing list