VertexDecl::m_hash should count m_stride too

This commit is contained in:
Libor Capak
2016-04-22 14:44:51 +02:00
parent a94089e29f
commit f3ce2d4358

View File

@@ -107,6 +107,7 @@ namespace bgfx
murmur.begin();
murmur.add(m_attributes, sizeof(m_attributes) );
murmur.add(m_offset, sizeof(m_offset) );
murmur.add(m_stride);
m_hash = murmur.end();
}