emscripten-core/emscripten

Behavioral difference in glUniform functions

Open

#16 367 ouverte le 23 févr. 2022

Voir sur GitHub
 (0 commentaires) (0 réactions) (0 assignés)C++ (3 519 forks)batch import
GLdocsgood first bughelp wanted

Métriques du dépôt

Stars
 (27 361 stars)
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