X-Git-Url: http://git.tdb.fi/?p=libs%2Fgl.git;a=blobdiff_plain;f=source%2Fcore%2Fframeformat.h;h=df4363758644160c98b8d9d7e2dbc4c42f641338;hp=90132092444488415a447b2840d03ad48c5fb58a;hb=38712d8ecc57d043a2419ffbaeeb57f7a6586f14;hpb=3bc34893905a2df622894aadcb6669f27f186772 diff --git a/source/core/frameformat.h b/source/core/frameformat.h index 90132092..df436375 100644 --- a/source/core/frameformat.h +++ b/source/core/frameformat.h @@ -36,12 +36,12 @@ class FrameFormat private: enum { MAX_ATTACHMENTS = 7 }; - std::uint8_t count; - std::uint8_t samples; + std::uint8_t count = 0; + std::uint8_t samples = 0; FrameAttachment attachments[MAX_ATTACHMENTS]; public: - FrameFormat(); + FrameFormat() = default; FrameFormat(FrameAttachment); FrameFormat operator,(FrameAttachment) const;