emscripten-core/emscripten

Behavioral difference in glUniform functions

开放

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

 (0 条评论) (0 个反应) (0 位负责人)C++ (3,519 个派生)batch import
GLdocsgood first bughelp wanted

仓库指标

星标
 (27,361 个星标)
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.

贡献者指南