[Scummvm-git-logs] scummvm master -> 5ffd7476130468e725a6e86cf1ed76427d4f3576

peterkohaut peterkohaut at users.noreply.github.com
Thu Feb 20 23:36:01 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:
5ffd747613 BLADERUNNER: Set 'ditheringFactor' as static const object. (#2075)


Commit: 5ffd7476130468e725a6e86cf1ed76427d4f3576
    https://github.com/scummvm/scummvm/commit/5ffd7476130468e725a6e86cf1ed76427d4f3576
Author: Carlo Bramini (30959007+carlo-bramini at users.noreply.github.com)
Date: 2020-02-21T00:35:57+01:00

Commit Message:
BLADERUNNER: Set 'ditheringFactor' as static const object. (#2075)

looks good

Changed paths:
    engines/bladerunner/slice_renderer.cpp


diff --git a/engines/bladerunner/slice_renderer.cpp b/engines/bladerunner/slice_renderer.cpp
index 7f3976f..17e2b91 100644
--- a/engines/bladerunner/slice_renderer.cpp
+++ b/engines/bladerunner/slice_renderer.cpp
@@ -712,7 +712,7 @@ void SliceRenderer::drawShadowPolygon(int transparency, Graphics::Surface &surfa
 	yMax = CLIP(yMax, 0, 480);
 	yMin = CLIP(yMin, 0, 480);
 
-	int ditheringFactor[] = {
+	static const int ditheringFactor[] = {
 		0,  8,  2, 10,
 		12, 4, 14,  6,
 		3, 11,  1,  9,




More information about the Scummvm-git-logs mailing list