mirror of
https://github.com/scratchfoundation/bgfx.git
synced 2024-11-28 10:35:43 -05:00
Cleanup.
This commit is contained in:
parent
5aa0c15dd5
commit
b9a0272856
1 changed files with 2 additions and 2 deletions
|
@ -66,7 +66,7 @@ namespace bgfx
|
|||
|
||||
void VertexDecl::end()
|
||||
{
|
||||
m_hash = bx::hashMurmur2A(m_attributes, sizeof(m_attributes) );
|
||||
m_hash = bx::hashMurmur2A(m_attributes);
|
||||
}
|
||||
|
||||
void VertexDecl::add(Attrib::Enum _attrib, uint8_t _num, AttribType::Enum _type, bool _normalized, bool _asInt)
|
||||
|
@ -119,7 +119,7 @@ namespace bgfx
|
|||
#if BGFX_CONFIG_DEBUG
|
||||
dbgPrintf("vertexdecl %08x (%08x), stride %d\n"
|
||||
, _decl.m_hash
|
||||
, bx::hashMurmur2A(_decl.m_attributes, sizeof(_decl.m_attributes) )
|
||||
, bx::hashMurmur2A(_decl.m_attributes)
|
||||
, _decl.m_stride
|
||||
);
|
||||
|
||||
|
|
Loading…
Reference in a new issue