LinesOfSight: use less-deprecated DrawIndexedPrimitives() call.
GitOrigin-RevId: 87d9482de392dfc659cc5c7e8fa354e9b6941425
This commit is contained in:
parent
23278334b0
commit
257a74ca58
@ -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…
Reference in New Issue
Block a user