mirror of
https://github.com/love2d/love.git
synced 2026-08-16 16:20:42 +02:00
Silenced some compiler warnings
This commit is contained in:
@@ -83,6 +83,11 @@ int GlyphData::getWidth() const
|
||||
return metrics.width;
|
||||
}
|
||||
|
||||
unsigned int GlyphData::getGlyph() const
|
||||
{
|
||||
return glyph;
|
||||
}
|
||||
|
||||
int GlyphData::getAdvance() const
|
||||
{
|
||||
return metrics.advance;
|
||||
|
||||
@@ -73,6 +73,11 @@ public:
|
||||
**/
|
||||
virtual int getWidth() const;
|
||||
|
||||
/**
|
||||
* Gets the glyph itself.
|
||||
**/
|
||||
unsigned int getGlyph() const;
|
||||
|
||||
/**
|
||||
* Gets the advance (the space the glyph takes up) of the glyph.
|
||||
**/
|
||||
|
||||
Reference in New Issue
Block a user