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

[sokol_gfx] Increase _SG_STRING_SIZE from 16 to 32 #1026

Merged
merged 1 commit into from Apr 12, 2024

Conversation

jakubtomsu
Copy link
Contributor

I'm not sure why the static string size limit was so low, since it's used for vertex attribute names. I ran into issues where a regular variable name of a shader vertex vertex/instance attribute would trigger this limit.

So I changed it to 32 which seems like a more reasonable limit for variable names...

@floooh
Copy link
Owner

floooh commented Apr 12, 2024

Yes agreed, 32 is a more reasonable size.

@floooh floooh merged commit 91ec4b5 into floooh:master Apr 12, 2024
24 checks passed
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.

None yet

2 participants