emscripten-core/emscripten
View on GitHubBehavioral difference in glUniform functions
Open
#16,367 opened on Feb 23, 2022
GLdocsgood first bughelp wanted
Description
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.