WINTERMUTE: Indices should be 32bits

This commit is contained in:
Paweł Kołodziejski 2024-10-13 11:49:37 +02:00
parent e7031d6078
commit a1b2019007
No known key found for this signature in database
GPG Key ID: 0BDADC9E74440FF7

View File

@ -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++) {