mirror of
https://github.com/SFML/SFML.git
synced 2024-11-28 22:31:09 +08:00
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:
parent
5a74cf33e9
commit
b0e25088a2
@ -46,7 +46,7 @@ public:
|
||||
/// \brief Default constructor
|
||||
///
|
||||
////////////////////////////////////////////////////////////
|
||||
Glyph() : advance(0) {}
|
||||
Glyph() : advance(0), lsbDelta(0), rsbDelta(0) {}
|
||||
|
||||
////////////////////////////////////////////////////////////
|
||||
// Member data
|
||||
|
Loading…
Reference in New Issue
Block a user