[Scummvm-git-logs] scummvm master -> 64ef64a0c786bc8e4bebb074f145445362fb5c43

digitall noreply at scummvm.org
Mon Jan 16 20:17:32 UTC 2023


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:
64ef64a0c7 TETRAEDGE: Fix Duplicated Branch GCC Compiler Warning


Commit: 64ef64a0c786bc8e4bebb074f145445362fb5c43
    https://github.com/scummvm/scummvm/commit/64ef64a0c786bc8e4bebb074f145445362fb5c43
Author: D G Turner (digitall at scummvm.org)
Date: 2023-01-16T20:17:04Z

Commit Message:
TETRAEDGE: Fix Duplicated Branch GCC Compiler Warning

Changed paths:
    engines/tetraedge/te/te_tiled_texture.cpp


diff --git a/engines/tetraedge/te/te_tiled_texture.cpp b/engines/tetraedge/te/te_tiled_texture.cpp
index 2c4de242da9..c3eaf550f4c 100644
--- a/engines/tetraedge/te/te_tiled_texture.cpp
+++ b/engines/tetraedge/te/te_tiled_texture.cpp
@@ -171,12 +171,16 @@ TeTiledTexture::Tile *TeTiledTexture::tile(const TeVector2s32 &loc) {
 }
 
 void TeTiledTexture::update(const TeImage &image) {
+// TODO: Implement fast path of TeTiledTexture::update
+#if 0
 	if (image.w == _totalSize._x && image.h == _totalSize._y) {
-		// TODO: Implement fast path of TeTiledTexture::update
-		load(image);
+		// fast path code goes here
 	} else {
 		load(image);
 	}
+#else
+	load(image);
+#endif
 }
 
 } // end namespace Tetraedge




More information about the Scummvm-git-logs mailing list