diff --git a/Examples/Textures/Bunnymark.cs b/Examples/Textures/Bunnymark.cs index 5b8d76a..77bdc9c 100644 --- a/Examples/Textures/Bunnymark.cs +++ b/Examples/Textures/Bunnymark.cs @@ -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;