use Sprite::SongBannerTexture

This commit is contained in:
Glenn Maynard
2004-03-26 07:56:18 +00:00
parent f353bd3206
commit c58fe72382
3 changed files with 5 additions and 5 deletions
+3 -3
View File
@@ -29,7 +29,7 @@
#include "GameManager.h"
#include "RageFile.h"
#include "RageTextureManager.h"
#include "Banner.h"
#include "Sprite.h"
#include "ProfileManager.h"
#include "MemoryCardManager.h"
#include "NotesLoaderSM.h"
@@ -298,7 +298,7 @@ void SongManager::PreloadSongImages()
if( !songs[i]->HasBanner() )
continue;
const RageTextureID ID = Banner::BannerTex( songs[i]->GetBannerPath() );
const RageTextureID ID = Sprite::SongBannerTexture( songs[i]->GetBannerPath() );
TEXTUREMAN->CacheTexture( ID );
}
@@ -309,7 +309,7 @@ void SongManager::PreloadSongImages()
if( !courses[i]->HasBanner() )
continue;
const RageTextureID ID = Banner::BannerTex( courses[i]->m_sBannerPath );
const RageTextureID ID = Sprite::SongBannerTexture( courses[i]->m_sBannerPath );
TEXTUREMAN->CacheTexture( ID );
}
}