Cleanup.
This commit is contained in:
parent
bf25ba4d41
commit
b5ab524ee1
@ -3604,6 +3604,7 @@ BX_PRAGMA_DIAGNOSTIC_POP();
|
||||
else if (0 == (BGFX_UNIFORM_SAMPLERBIT & type) )
|
||||
{
|
||||
const UniformInfo* info = s_renderD3D11->m_uniformReg.find(name);
|
||||
BX_CHECK(NULL != info, "User defined uniform '%s' is not found, it won't be set.", name);
|
||||
|
||||
if (NULL != info)
|
||||
{
|
||||
|
@ -3555,6 +3555,7 @@ data.NumQualityLevels = 0;
|
||||
else if (0 == (BGFX_UNIFORM_SAMPLERBIT & type) )
|
||||
{
|
||||
const UniformInfo* info = s_renderD3D12->m_uniformReg.find(name);
|
||||
BX_CHECK(NULL != info, "User defined uniform '%s' is not found, it won't be set.", name);
|
||||
|
||||
if (NULL != info)
|
||||
{
|
||||
|
@ -2234,6 +2234,7 @@ namespace bgfx { namespace d3d9
|
||||
{
|
||||
const UniformInfo* info = s_renderD3D9->m_uniformReg.find(name);
|
||||
BX_CHECK(NULL != info, "User defined uniform '%s' is not found, it won't be set.", name);
|
||||
|
||||
if (NULL != info)
|
||||
{
|
||||
if (NULL == m_constantBuffer)
|
||||
|
@ -3509,6 +3509,8 @@ namespace bgfx { namespace gl
|
||||
else
|
||||
{
|
||||
const UniformInfo* 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)
|
||||
{
|
||||
if (NULL == m_constantBuffer)
|
||||
|
Loading…
Reference in New Issue
Block a user