Skip to content

Commit

Permalink
Merge pull request #333 from Maneren/master
Browse files Browse the repository at this point in the history
Add missing const
  • Loading branch information
RobLoach authored Oct 16, 2024
2 parents 09b029d + 9a579b1 commit cfc8042
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/Color.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit cfc8042

Please sign in to comment.