From 257a74ca589abb1afa41c78f210302863d3b6b41 Mon Sep 17 00:00:00 2001 From: Colin McMillen Date: Thu, 13 Feb 2020 16:04:12 -0500 Subject: [PATCH] LinesOfSight: use less-deprecated DrawIndexedPrimitives() call. GitOrigin-RevId: 87d9482de392dfc659cc5c7e8fa354e9b6941425 --- Shared/LinesOfSight.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Shared/LinesOfSight.cs b/Shared/LinesOfSight.cs index c4d6482..3589b53 100644 --- a/Shared/LinesOfSight.cs +++ b/Shared/LinesOfSight.cs @@ -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); } } }