Skip to content

[raylib.h] renamed SHADER_LOC_VERTEX_INSTANCETRANSFORMS#5592

Merged
raysan5 merged 2 commits into
raysan5:masterfrom
CrackedPixel:rename-shader-loc-instancetransforms
Feb 25, 2026
Merged

[raylib.h] renamed SHADER_LOC_VERTEX_INSTANCETRANSFORMS#5592
raysan5 merged 2 commits into
raysan5:masterfrom
CrackedPixel:rename-shader-loc-instancetransforms

Conversation

@CrackedPixel
Copy link
Copy Markdown
Contributor

@CrackedPixel CrackedPixel commented Feb 25, 2026

This seems to have been renamed SHADER_LOC_VERTEX_INSTANCETRANSFORMS (plural) to SHADER_LOC_VERTEX_INSTANCETRANSFORM (singular)?

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

if you want it the other way around i can change it and rename them all, too

@raysan5 raysan5 merged commit 006216b into raysan5:master Feb 25, 2026
16 checks passed
@raysan5
Copy link
Copy Markdown
Owner

raysan5 commented Feb 25, 2026

@CrackedPixel thanks for the review

@casperbear
Copy link
Copy Markdown

@CrackedPixel then 's' should've been removed in the comment too. There is only one transform per instance, unless it's meant that translate/rotate/scale are different transforms
SHADER_LOC_VERTEX_INSTANCETRANSFORM // Shader location: vertex attribute: instance transformS

@CrackedPixel CrackedPixel deleted the rename-shader-loc-instancetransforms branch March 11, 2026 17:33
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.

3 participants