emscripten-core/emscripten

Behavioral difference in glUniform functions

Open

#16,367 opened on 2022年2月23日

GitHub で見る
 (0 comments) (0 reactions) (0 assignees)C++ (3,519 forks)batch import
GLdocsgood first bughelp wanted

Repository metrics

Stars
 (27,361 stars)
PR merge metrics
 (平均マージ 19d 10h) (30d で 147 merged PRs)

説明

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.

コントリビューターガイド