X-Git-Url: http://git.tdb.fi/?p=libs%2Fgl.git;a=blobdiff_plain;f=source%2Fcore%2Fvertexarray.cpp;fp=source%2Fcore%2Fvertexarray.cpp;h=0703b1dd57a6d38ee0b3afd4ae98b49aea104172;hp=e3aef7a0eea16cd38302d068535edaa255c56028;hb=ea7832c7c1ffab00cc1168bc8c41375fdd0eae86;hpb=7f03ee52e8af5f857e44702b6d1c2822a51c62ef diff --git a/source/core/vertexarray.cpp b/source/core/vertexarray.cpp index e3aef7a0..0703b1dd 100644 --- a/source/core/vertexarray.cpp +++ b/source/core/vertexarray.cpp @@ -20,7 +20,7 @@ void VertexArray::reset(const VertexFormat &f) { clear(); format = f; - stride = get_stride(format); + stride = format.stride(); } void VertexArray::clear()