emscripten-core/emscripten
Vedi su GitHubBehavioral difference in glUniform functions
Open
#16.367 aperta il 23 feb 2022
GLdocsgood first bughelp wanted
Metriche repository
- Star
- (27.361 star)
- Metriche merge PR
- (Merge medio 19g 10h) (147 PR mergiate in 30 g)
Descrizione
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.