emscripten-core/emscripten

Behavioral difference in glUniform functions

Open

#16.367 aperta il 23 feb 2022

Vedi su GitHub
 (0 commenti) (0 reazioni) (0 assegnatari)C++ (3519 fork)batch import
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.

Guida contributor