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

Make sure ShaderUniformDataType matches rlShaderUniformDataType #4577

Merged
merged 3 commits into from
Dec 8, 2024

Conversation

RicoP
Copy link
Contributor

@RicoP RicoP commented Dec 5, 2024

It seems like with version 5.5 ShaderUniformDataType and rlShaderUniformDataType went out of sync with the addition of RL_SHADER_UNIFORM_UIXXX caused SHADER_UNIFORM_SAMPLER2D to be interpreted as RL_SHADER_UNIFORM_UINT in rlSetUniform.

Depending on how lenient your specific OpenGL version is that might work fine, but in my case this caused issues.

@raysan5 raysan5 merged commit 2a2acff into raysan5:master Dec 8, 2024
10 checks passed
@raysan5
Copy link
Owner

raysan5 commented Dec 8, 2024

@RicoP Thanks for the review! I missed those additions on raylib.h side

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