mirror of
https://github.com/love2d/love.git
synced 2026-08-12 08:30:56 +02:00
fixed gcc warnings with regard to initialization order in GlyphData
This commit is contained in:
@@ -28,7 +28,7 @@ namespace font
|
||||
{
|
||||
|
||||
GlyphData::GlyphData(unsigned short glyph, GlyphMetrics glyphMetrics, GlyphData::Format f)
|
||||
: glyph(glyph), metrics(glyphMetrics), format(f), padded(false), data(0)
|
||||
: glyph(glyph), metrics(glyphMetrics), data(0), format(f), padded(false)
|
||||
{
|
||||
if (metrics.width && metrics.height) {
|
||||
switch (f) {
|
||||
|
||||
Reference in New Issue
Block a user