add const accessor for Texture

This commit is contained in:
Glenn Maynard
2003-01-19 00:48:23 +00:00
parent 8377d8260c
commit 1698ddb304
+1
View File
@@ -20,6 +20,7 @@ class FontPage;
struct glyph {
FontPage *fp;
RageTexture *Texture;
RageTexture *GetTexture() const { return const_cast<RageTexture *>(Texture); }
/* Number of pixels to advance horizontally after drawing this character. */
int hadvance;