From be2acd3c9ab2f3a42de59629f2de695e796389de Mon Sep 17 00:00:00 2001 From: ChrisDill Date: Wed, 1 Apr 2020 18:43:33 +0100 Subject: [PATCH] Fixed DrawLineStrip issue from #44. - Changed DrawLineStrip to take in a Vector2[] instead of ref Vector2 points. --- Raylib-cs/Raylib.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Raylib-cs/Raylib.cs b/Raylib-cs/Raylib.cs index cd8ce61..4f86377 100644 --- a/Raylib-cs/Raylib.cs +++ b/Raylib-cs/Raylib.cs @@ -1829,7 +1829,7 @@ namespace Raylib_cs // Draw lines sequence [DllImport(nativeLibName, CallingConvention = CallingConvention.Cdecl)] - public static extern void DrawLineStrip(ref Vector2 points, int numPoints, Color color); + public static extern void DrawLineStrip(Vector2[] points, int numPoints, Color color); // Draw a color-filled circle [DllImport(nativeLibName, CallingConvention = CallingConvention.Cdecl)]