From 9a579b148969c267008f9ce59f36ee94fcf008a9 Mon Sep 17 00:00:00 2001 From: Maneren Date: Tue, 15 Oct 2024 01:03:00 +0200 Subject: [PATCH] Add missing const --- include/Color.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/Color.hpp b/include/Color.hpp index 0f084d08..a1f7795c 100644 --- a/include/Color.hpp +++ b/include/Color.hpp @@ -122,7 +122,7 @@ class Color : public ::Color { ::DrawLineBezier(startPos, endPos, thick, *this); } - void DrawLineStrip(::Vector2* points, int numPoints) const { ::DrawLineStrip(points, numPoints, *this); } + void DrawLineStrip(const ::Vector2* points, int numPoints) const { ::DrawLineStrip(points, numPoints, *this); } void DrawText(const char* text, int posX = 0, int posY = 0, int fontSize = 10.0f) const { ::DrawText(text, posX, posY, fontSize, *this);