mirror of
https://github.com/bkaradzic/bgfx.git
synced 2026-11-13 11:35:41 +00:00
Cleanup.
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user