From 57a9dead0c48981398f0d2884407b9930a825f80 Mon Sep 17 00:00:00 2001 From: Tiger Jove Date: Sun, 16 Jun 2024 08:48:45 +0200 Subject: [PATCH] unneeded ref keyword removed from render loop --- Examples/Textures/Bunnymark.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;