Skip to content

[Backend/RGFW] Update Makefile and such#5591

Merged
raysan5 merged 2 commits into
raysan5:masterfrom
CrackedPixel:rgfw-update-makefile-etc
Feb 25, 2026
Merged

[Backend/RGFW] Update Makefile and such#5591
raysan5 merged 2 commits into
raysan5:masterfrom
CrackedPixel:rgfw-update-makefile-etc

Conversation

@CrackedPixel
Copy link
Copy Markdown
Contributor

@CrackedPixel CrackedPixel commented Feb 25, 2026

There are a few things to note:

  1. edited .gitignore to ignore the wayland generated files from GLFW and RGFW
  2. moved GLFW LDFLAGS for wayland due to it being too early in the file and overridden
  3. added wayland generated code for RGFW (copying GLFW 99% identical)
  4. added build targets when using wayland+RGFW -- this is due to glfw already having it included but rgfw does not (single header vs full compiled lib)
  5. added makefile section for OSX
  6. added missing mg_gamepads_free in ClosePlatform

Comment thread src/external/RGFW/RGFW.h
Comment thread src/Makefile
@CrackedPixel
Copy link
Copy Markdown
Contributor Author

CrackedPixel commented Feb 25, 2026

I don't know whats with the SHADER_LOC_VERTEX_INSTANCETRANSFORM (singular) error in the automated build tests 🤔 the correct is SHADER_LOC_VERTEX_INSTANCETRANSFORM**S** (plural) and thats what all the files have...

https://github.com/raysan5/raylib/blob/master/src/rcore.c#L1308 (singular)
https://github.com/raysan5/raylib/blob/master/src/raylib.h#L817 (plural)

EDIT: was this changed recently? its not due to my PR at least 😅

I made a separate PR to address this and once that's settled we can re-run the tests for this PR: #5592

@raysan5 raysan5 merged commit b57526d into raysan5:master Feb 25, 2026
15 of 16 checks passed
@raysan5
Copy link
Copy Markdown
Owner

raysan5 commented Feb 25, 2026

@CrackedPixel Nice! Merging!

@CrackedPixel CrackedPixel deleted the rgfw-update-makefile-etc branch February 25, 2026 23:38
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