emscripten-core / emscripten-core/emscripten

Behavioral difference in glUniform functions

Open
#16,367 0 comments 0 reactions 0 assignees View on GitHub
docs GL good first bug help wanted
Dominant language
C++
Stars
27.6k
Forks
3.6k
Avg merge
1d 1h
Merged PRs (30d)
105

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.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.