Skip to content

Conversation

Maneren
Copy link
Contributor

@Maneren Maneren commented Oct 14, 2024

Hi, I believe there is supposed to be a const here to match the C version.

RLAPI void DrawLineStrip(const Vector2 *points, int pointCount, Color color);

https://github.com/raysan5/raylib/blob/master/src%2Fraylib.h#L1242

@Maneren
Copy link
Contributor Author

Maneren commented Oct 16, 2024

Sorry, I‌ just noticed this library officially supports only raylib 5.0, but the upstream const was added in a newer version.

@RobLoach RobLoach merged commit cfc8042 into RobLoach:master Oct 16, 2024
0 of 8 checks passed
@RobLoach
Copy link
Owner

Thanks! There is the next branch for 5+ raylib https://github.com/RobLoach/raylib-cpp/tree/next

Feel free to submit any changes there 😉

@RobLoach
Copy link
Owner

#316

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants