try to fix undefined-var-template

This commit is contained in:
khiav reoy 2018-10-30 20:06:12 +08:00
parent bab22d87be
commit 3cabc838f5

View file

@ -66,4 +66,6 @@ struct VertexTraits
static const GLsizei attrCount;
};
template <class VertType> const VertexAttribute* VertexTraits<VertType>::attr;
#endif // VERTEX_H