diff --git a/stepmania/src/Font.cpp b/stepmania/src/Font.cpp index 2bb769d940..cc6fa1e07a 100644 --- a/stepmania/src/Font.cpp +++ b/stepmania/src/Font.cpp @@ -312,12 +312,6 @@ const glyph &Font::GetGlyph( longchar c ) const return *it->second; } -RageTexture *Font::GetGlyphTexture( longchar c ) -{ - glyph &g = const_cast (GetGlyph(c)); - return g.Texture; -} - void Font::CapsOnly() { /* For each uppercase character that we have a mapping for, add diff --git a/stepmania/src/Font.h b/stepmania/src/Font.h index a19211b3e6..775efce89d 100644 --- a/stepmania/src/Font.h +++ b/stepmania/src/Font.h @@ -104,7 +104,6 @@ public: Font(); ~Font(); - RageTexture *GetGlyphTexture( longchar c ); const glyph &GetGlyph( longchar c ) const; int GetLineWidthInSourcePixels( const lstring &szLine ) const;