Watch
2
0
Fork
You've already forked raylib-cs
0

unneeded ref keyword removed from render loop

This commit is contained in:
Tiger Jove 2024-06-16 08:48:45 +02:00
commit 57a9dead0c

View file

@ -107,7 +107,7 @@ public static class Bunnymark
BeginDrawing();
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),
// a draw call is launched and buffer starts being filled again;