Added ability to retrieve uniform info.

This commit is contained in:
Branimir Karadžić
2016-11-02 00:12:40 -07:00
parent 3a5d05759d
commit a3113ab94c
11 changed files with 66 additions and 11 deletions

View File

@@ -4161,7 +4161,7 @@ namespace bgfx { namespace gl
}
else
{
const UniformInfo* info = s_renderGL->m_uniformReg.find(name);
const UniformRegInfo* info = s_renderGL->m_uniformReg.find(name);
BX_WARN(NULL != info, "User defined uniform '%s' is not found, it won't be set.", name);
if (NULL != info)