Skip to content

Use defines in default shaders#5925

Open
floopfloopfloopfloopfloop wants to merge 1 commit into
raysan5:masterfrom
floopfloopfloopfloopfloop:master
Open

Use defines in default shaders#5925
floopfloopfloopfloopfloop wants to merge 1 commit into
raysan5:masterfrom
floopfloopfloopfloopfloop:master

Conversation

@floopfloopfloopfloopfloop

@floopfloopfloopfloopfloop floopfloopfloopfloopfloop commented Jun 19, 2026

Copy link
Copy Markdown

The #ifndef RL_DEFAULT_SHADER_ATTRIB_NAME_POSITION et all in rlgl.h imply the names can be redefined, but the default shader sources use hardcoded names, resulting in name mismatches and nothing drawing if one attempts. This PR changes the shaders to use the defines, which seems to fix the issue.

@floopfloopfloopfloopfloop

floopfloopfloopfloopfloop commented Jun 19, 2026

Copy link
Copy Markdown
Author
image

what in tarnation Apparently you can unwittingly use other people's emails in git commits, and github will just say it was made by them. Amazing.

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