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 const modifier to drawing API #3673

Closed
wants to merge 1 commit into from
Closed

Conversation

iacore
Copy link
Contributor

@iacore iacore commented Dec 25, 2023

there may be others than can be changed so

@raysan5
Copy link
Owner

raysan5 commented Dec 25, 2023

@iacore Sorry, no plans to implement this change for now.

@raysan5 raysan5 closed this Dec 25, 2023
@iacore
Copy link
Contributor Author

iacore commented Dec 25, 2023

const T* is used in the header file.

for example, here

RLAPI Image GenImageFontAtlas(const GlyphInfo *glyphs, Rectangle **glyphRecs, int glyphCount, int fontSize, int padding, int packMethod); // Generate image font atlas using chars info

One Zig bindings generator relies on this info.

@iacore
Copy link
Contributor Author

iacore commented Dec 27, 2023

@raysan5 please reconsider.

@raysan5
Copy link
Owner

raysan5 commented Dec 28, 2023

@iacore Appreciate your insistence but not for now.

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