mirror of
https://github.com/bkaradzic/bgfx.git
synced 2026-02-18 04:53:06 +01:00
Added BGFX_CONFIG_DEBUG configurable thru compiler options.
This commit is contained in:
@@ -574,7 +574,7 @@ namespace bgfx
|
||||
|
||||
void dump(const VertexDecl& _decl)
|
||||
{
|
||||
#if BGFX_DEBUG
|
||||
#if BGFX_CONFIG_DEBUG
|
||||
BX_TRACE("vertexdecl %08x (%08x), stride %d"
|
||||
, _decl.m_hash
|
||||
, hash(_decl.m_attributes, sizeof(_decl.m_attributes) )
|
||||
@@ -600,7 +600,7 @@ namespace bgfx
|
||||
);
|
||||
}
|
||||
}
|
||||
#endif // BGFX_DEBUG
|
||||
#endif // BGFX_CONFIG_DEBUG
|
||||
}
|
||||
|
||||
const uint32_t g_constantTypeSize[ConstantType::Count] =
|
||||
|
||||
Reference in New Issue
Block a user