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
+1 -1
View File
@@ -2427,7 +2427,7 @@ namespace bgfx { namespace d3d9
}
else if (0 == (BGFX_UNIFORM_SAMPLERBIT & type) )
{
const UniformInfo* info = s_renderD3D9->m_uniformReg.find(name);
const UniformRegInfo* info = s_renderD3D9->m_uniformReg.find(name);
BX_WARN(NULL != info, "User defined uniform '%s' is not found, it won't be set.", name);
if (NULL != info)