Initialize all sf::Glyph members

This silences an MSVC warning about lsbDelta and rsbDelta not being
initialized. Whether or not this fixes any bugs, it provides a
better user experience if nobody sees those warnings.
This commit is contained in:
Chris Thrasher 2024-04-07 12:06:06 -06:00
parent 5a74cf33e9
commit b0e25088a2

View File

@ -46,7 +46,7 @@ public:
/// \brief Default constructor
///
////////////////////////////////////////////////////////////
Glyph() : advance(0) {}
Glyph() : advance(0), lsbDelta(0), rsbDelta(0) {}
////////////////////////////////////////////////////////////
// Member data