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

Behavioral difference in glUniform functions #16367

Open
DrBearhands opened this issue Feb 23, 2022 · 0 comments
Open

Behavioral difference in glUniform functions #16367

DrBearhands opened this issue Feb 23, 2022 · 0 comments

Comments

@DrBearhands
Copy link

Version of emscripten/emsdk:
2.0.32

glUniform functions in OpenGL ES take a regular GLuint. A literal value can be passed. Emscripten will pass undefined if glGetUniformLocation was not used. Emscripten's behavior is not wrong IMO, but it would be good to mention this somewhere as a behavioral difference.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants