make GetTexHandle() const

This commit is contained in:
Glenn Maynard
2003-06-22 01:28:23 +00:00
parent 2d97a1daa0
commit a845a86040
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -130,7 +130,7 @@ BannerCache::~BannerCache()
struct BannerTexture: public RageTexture
{
unsigned m_uTexHandle;
unsigned GetTexHandle() { return m_uTexHandle; }; // accessed by RageDisplay
unsigned GetTexHandle() const { return m_uTexHandle; }; // accessed by RageDisplay
/* This is a reference to a pointer in m_BannerPathToImage. */
SDL_Surface *&img;
int width, height;