mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-12 20:17:49 +00:00
WINTERMUTE: Indices should be 32bits
This commit is contained in:
parent
e7031d6078
commit
a1b2019007
@ -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++) {
|
||||
|
Loading…
Reference in New Issue
Block a user