emscripten-core/emscripten

Behavioral difference in glUniform functions

Open

#16,367 创建于 2022年2月23日

在 GitHub 查看
 (0 评论) (0 反应) (0 负责人)C++ (3,519 fork)batch import
GLdocsgood first bughelp wanted

仓库指标

Star
 (27,361 star)
PR 合并指标
 (平均合并 19天 10小时) (30 天内合并 147 个 PR)

描述

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.

贡献者指南