From 450618161c3fa1f75fca76d76f83ed1f41169b6c Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Sun, 19 Jan 2003 02:05:07 +0000 Subject: [PATCH] remove GetGlyphTexture --- stepmania/src/Font.cpp | 6 ------ stepmania/src/Font.h | 1 - 2 files changed, 7 deletions(-) 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;