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

remove #define RGFWDEF and make the #undefs only happen for their OS (RGFW) #3971

Merged
merged 5 commits into from
May 10, 2024

Conversation

ColleagueRiley
Copy link
Contributor

While working on RGFW support, before I found out I could use RGFW with Raylib without compiling RGFW on it's own I needed to add this line #define RGFWDEF.

This line makes it so the RGFW functions are not inline'd. This could cause potential performance issues for RGFW. I also made it so the #defs and #undefs required to get RGFW with raylib only happen if they're needed for that OS. This is a very minor change but it prevents any unforeseen issues.

@ColleagueRiley
Copy link
Contributor Author

This should hopefully be the last PLATFORM_DESKTOP_RGFW related PR I do for a while.

@raysan5 raysan5 merged commit f622021 into raysan5:master May 10, 2024
14 checks passed
@raysan5
Copy link
Owner

raysan5 commented May 10, 2024

@ColleagueRiley Nice! Thank you very much for the improvement! 👍

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