mirror of
https://github.com/bkaradzic/bgfx.git
synced 2026-10-24 09:50:51 +00:00
Added ability to retrieve uniform info.
This commit is contained in:
@@ -3880,7 +3880,7 @@ data.NumQualityLevels = 0;
|
||||
}
|
||||
else if (0 == (BGFX_UNIFORM_SAMPLERBIT & type) )
|
||||
{
|
||||
const UniformInfo* info = s_renderD3D12->m_uniformReg.find(name);
|
||||
const UniformRegInfo* info = s_renderD3D12->m_uniformReg.find(name);
|
||||
BX_WARN(NULL != info, "User defined uniform '%s' is not found, it won't be set.", name);
|
||||
|
||||
if (NULL != info)
|
||||
|
||||
Reference in New Issue
Block a user