[Scummvm-git-logs] scummvm master -> a1b20190070fb5eb1848c06ab6e9cce769a08cf2

aquadran noreply at scummvm.org
Sun Oct 13 09:49:42 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:
a1b2019007 WINTERMUTE: Indices should be 32bits


Commit: a1b20190070fb5eb1848c06ab6e9cce769a08cf2
    https://github.com/scummvm/scummvm/commit/a1b20190070fb5eb1848c06ab6e9cce769a08cf2
Author: Paweł Kołodziejski (aquadran at gmail.com)
Date: 2024-10-13T11:49:37+02:00

Commit Message:
WINTERMUTE: Indices should be 32bits

Changed paths:
    engines/wintermute/base/gfx/xmesh.cpp


diff --git a/engines/wintermute/base/gfx/xmesh.cpp b/engines/wintermute/base/gfx/xmesh.cpp
index 561ef4250a1..383913d1eb4 100644
--- a/engines/wintermute/base/gfx/xmesh.cpp
+++ b/engines/wintermute/base/gfx/xmesh.cpp
@@ -342,7 +342,7 @@ bool XMesh::updateShadowVol(ShadowVolume *shadow, Math::Matrix4 &modelMat, const
 	}
 
 	// Allocate a temporary edge list
-	Common::Array<uint16> edges(indexDataSize * 2, 0);
+	Common::Array<uint32> edges(indexDataSize * 2, 0);
 
 	// First pass : for each face, record if it is front or back facing the light
 	for (uint32 i = 0; i < indexDataSize / 3; i++) {




More information about the Scummvm-git-logs mailing list