Removed check when RenderDoc is present.

This commit is contained in:
Branimir Karadžić 2015-12-03 18:11:13 -08:00
parent 0ee31a98c1
commit cbb3f6d495

View file

@ -104,7 +104,8 @@ namespace bgfx
{
invalidate(_key);
m_hashMap.insert(stl::make_pair(_key, _value) );
BX_CHECK(1 == getRefCount(_value), "Interface ref count %d, hash %" PRIx64 "."
BX_CHECK(isGraphicsDebuggerPresent()
|| 1 == getRefCount(_value), "Interface ref count %d, hash %" PRIx64 "."
, getRefCount(_value)
, _key
);