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.

貢獻者指南