unneeded ref keyword removed from render loop
This commit is contained in:
parent
785edea5bb
commit
57a9dead0c
1 changed files with 1 additions and 1 deletions
|
|
@ -107,7 +107,7 @@ public static class Bunnymark
|
||||||
BeginDrawing();
|
BeginDrawing();
|
||||||
ClearBackground(Color.RayWhite);
|
ClearBackground(Color.RayWhite);
|
||||||
|
|
||||||
foreach (ref var bunny in bunnies[..bunniesCount])
|
foreach (var bunny in bunnies[..bunniesCount])
|
||||||
{
|
{
|
||||||
// NOTE: When internal batch buffer limit is reached (MAX_BATCH_ELEMENTS),
|
// NOTE: When internal batch buffer limit is reached (MAX_BATCH_ELEMENTS),
|
||||||
// a draw call is launched and buffer starts being filled again;
|
// a draw call is launched and buffer starts being filled again;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue