[Scummvm-git-logs] scummvm master -> 30b11db12b7e68ee801e0a7f9ae54cd4196aae3f

peterkohaut noreply at scummvm.org
Sat Dec 5 13:34:32 UTC 2026


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:
30b11db12b TINYGL: Include fog factor in vertex comparison


Commit: 30b11db12b7e68ee801e0a7f9ae54cd4196aae3f
    https://github.com/scummvm/scummvm/commit/30b11db12b7e68ee801e0a7f9ae54cd4196aae3f
Author: Peter Kohaut (peter.kohaut at gmail.com)
Date: 2026-12-05T14:15:17+01:00

Commit Message:
TINYGL: Include fog factor in vertex comparison

When only the fog factor of a vertex changed, dirty rectangles were not
updated. E.g. when TGL_FOG_START changed between frames.

Changed paths:
    graphics/tinygl/zbuffer.h


diff --git a/graphics/tinygl/zbuffer.h b/graphics/tinygl/zbuffer.h
index ceef2eb34ab..253c3fb2078 100644
--- a/graphics/tinygl/zbuffer.h
+++ b/graphics/tinygl/zbuffer.h
@@ -101,7 +101,8 @@ struct ZBufferPoint {
 			r == other.r &&
 			g == other.g &&
 			b == other.b &&
-			a == other.a;
+			a == other.a &&
+			f == other.f;
 	}
 };
 




More information about the Scummvm-git-logs mailing list