From b9a0272856e8fc768919df02e6a97c6627907edb Mon Sep 17 00:00:00 2001 From: bkaradzic Date: Sat, 16 Feb 2013 14:02:27 -0800 Subject: [PATCH] Cleanup. --- src/vertexdecl.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/vertexdecl.cpp b/src/vertexdecl.cpp index 53c31f94..2a22f754 100644 --- a/src/vertexdecl.cpp +++ b/src/vertexdecl.cpp @@ -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 );