Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add missing const #333

Merged
merged 1 commit into from
Oct 16, 2024
Merged

Add missing const #333

merged 1 commit into from
Oct 16, 2024

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