Fix AllocateBoatWakeArray, it needs RpGeometryCreate with HAS_TRIANGLES

This commit is contained in:
Stefanos Kornilios Mitsis Poiitidis 2025-01-06 13:40:31 +02:00
parent 5abd0641a4
commit fa65f637ad

View File

@ -1479,7 +1479,8 @@ CWaterLevel::AllocateBoatWakeArray()
apGeomArray[geom] = RpGeometryCreate(9*9, 8*8*2, rpGEOMETRYTRISTRIP
| rpGEOMETRYPRELIT
| rpGEOMETRYMODULATEMATERIALCOLOR
| rpGEOMETRYTEXTURED);
| rpGEOMETRYTEXTURED
| rw::Geometry::HAS_TRIANGLES/* RW_DC specific */);
ASSERT(apGeomArray[geom] != nil);
RpTriangle *geomTriangles = RpGeometryGetTriangles(apGeomArray[geom]);