From f3ce2d43580a07c247d0f5c884e159c59d584a99 Mon Sep 17 00:00:00 2001 From: Libor Capak Date: Fri, 22 Apr 2016 14:44:51 +0200 Subject: [PATCH] VertexDecl::m_hash should count m_stride too --- src/vertexdecl.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/vertexdecl.cpp b/src/vertexdecl.cpp index c5fb4b05d..d3945cd32 100644 --- a/src/vertexdecl.cpp +++ b/src/vertexdecl.cpp @@ -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(); }