mirror of https://github.com/bkaradzic/bgfx
Merge pull request #771 from velkyel/master
VertexDecl::m_hash should count m_stride too
This commit is contained in:
commit
3394ff7850
|
@ -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();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue