Browse Source

LinesOfSight: use less-deprecated DrawIndexedPrimitives() call.

GitOrigin-RevId: 87d9482de3
master
Colin McMillen 4 years ago
parent
commit
257a74ca58
  1. 2
      Shared/LinesOfSight.cs

2
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);
}
}
}

Loading…
Cancel
Save