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

[Renderers/Examples] Move raylib renderer to single header #121

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

peterc-s
Copy link

As discussed on discord, to use Clay with the raylib renderer with GNU Make and GCC you had to separate out implementation from the raylib_renderer_raylib.c into a header file and make a few other changes.

I've moved the whole renderer into a single header file and this seems to work without any of those modifications needing to be made.

I've also fixed a segfault in the video example by copying over the minimum memory allocation from the raylib sidebar scrolling example.

@peterc-s peterc-s changed the title Move raylib renderer to single header [Renderers/Examples] Move raylib renderer to single header Dec 28, 2024
@peterc-s
Copy link
Author

Sorry, realised my git was misconfigured and so commits came up as unverified so had to rebase and force push to sign them properly.

@nicbarker nicbarker force-pushed the main branch 2 times, most recently from 4fd677e to 338852b Compare January 14, 2025 08:46
@ThreedResident
Copy link

Any chance all this will be merged to main soon?

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