LinesOfSight: use less-deprecated DrawIndexedPrimitives() call.

GitOrigin-RevId: 87d9482de392dfc659cc5c7e8fa354e9b6941425
This commit is contained in:
Colin McMillen 2020-02-13 16:04:12 -05:00
parent 23278334b0
commit 257a74ca58

View File

@ -86,7 +86,7 @@ namespace SemiColinGames {
foreach (EffectPass pass in lightingEffect.CurrentTechnique.Passes) {
pass.Apply();
graphics.DrawIndexedPrimitives(PrimitiveType.TriangleList, 0, 0, coneVertices.Length, 0, indices.Length / 3);
graphics.DrawIndexedPrimitives(PrimitiveType.TriangleList, 0, 0, indices.Length / 3);
}
}
}