fix edge indices count

This commit is contained in:
RSDuck
2020-11-19 17:46:21 +01:00
parent 690eed9e26
commit 50cdfd0137

View File

@ -784,7 +784,7 @@ void BuildPolygons(RendererPolygon* polygons, int npolys)
NumVertices = vidx;
NumIndices = iidx;
NumEdgeIndices = eidx;
NumEdgeIndices = eidx - EdgeIndicesOffset;
}
void RenderSinglePolygon(int i)