This commit is contained in:
Branimir Karadžić
2016-09-08 17:00:16 -07:00
parent 813d145ac9
commit 425868f391
6 changed files with 29 additions and 20 deletions
+2 -1
View File
@@ -1113,6 +1113,7 @@ namespace bgfx { namespace d3d9
{
BX_FREE(g_allocator, m_uniforms[_handle.idx]);
m_uniforms[_handle.idx] = NULL;
m_uniformReg.remove(_handle);
}
void saveScreenShot(const char* _filePath) BX_OVERRIDE
@@ -2426,7 +2427,7 @@ namespace bgfx { namespace d3d9
else if (0 == (BGFX_UNIFORM_SAMPLERBIT & type) )
{
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);
BX_WARN(NULL != info, "User defined uniform '%s' is not found, it won't be set.", name);
if (NULL != info)
{