X-Git-Url: http://git.tdb.fi/?p=libs%2Fgl.git;a=blobdiff_plain;f=source%2Fcore%2Fvertexformat.h;h=4ff3401778d15b5989130d4dcf6c2ce803eb4bee;hp=f9f99398fc7fe66186a74ad7836e2567fc02cf0c;hb=38712d8ecc57d043a2419ffbaeeb57f7a6586f14;hpb=3bc34893905a2df622894aadcb6669f27f186772 diff --git a/source/core/vertexformat.h b/source/core/vertexformat.h index f9f99398..4ff34017 100644 --- a/source/core/vertexformat.h +++ b/source/core/vertexformat.h @@ -75,11 +75,11 @@ class VertexFormat private: enum { MAX_ATTRIBUTES = 15 }; - std::uint8_t count; + std::uint8_t count = 0; VertexAttribute attributes[MAX_ATTRIBUTES]; public: - VertexFormat(); + VertexFormat() = default; VertexFormat(VertexAttribute); VertexFormat operator,(VertexAttribute) const;