emscripten-core/emscripten

Behavioral difference in glUniform functions

Ouverte

#16 367 ouverte le 23 févr. 2022

 (0 commentaire) (0 réaction) (0 personne assignée)C++ (3 519 forks)batch import
GLdocsgood first bughelp wanted

Métriques du dépôt

Stars
 (27 361 étoiles)
Métriques de merge PR
 (Merge moyen 19j 10h) (147 PRs mergées en 30 j)

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.

Guide contributeur