emscripten-core/emscripten

Behavioral difference in glUniform functions

Open

#16.367 aberto em 23 de fev. de 2022

Ver no GitHub
 (0 comments) (0 reactions) (0 assignees)C++ (3.519 forks)batch import
GLdocsgood first bughelp wanted

Métricas do repositório

Stars
 (27.361 stars)
Métricas de merge de PR
 (Mesclagem média 19d 10h) (147 fundiu PRs em 30d)

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.

Guia do colaborador