private:
VertexFormat format;
std::vector<char> data;
- unsigned stride;
+ unsigned stride = 0;
VertexArray(const VertexArray &);
VertexArray &operator=(const VertexArray &);
public:
- VertexArray();
+ VertexArray() = default;
/// Construct a VertexArray and set its format.
VertexArray(const VertexFormat &);