LoadBG -> Load( Sprite::SongBGTexture() )

This commit is contained in:
Glenn Maynard
2006-07-28 00:32:39 +00:00
parent 3439a2e546
commit 5df5c3e7b8
2 changed files with 5 additions and 5 deletions
+2 -2
View File
@@ -274,12 +274,12 @@ Actor *MakeVisualization( const RString &sVisPath )
(pSong && pSong->HasBackground()) ? pSong->GetBackgroundPath() : THEME->GetPathG("Common","fallback background");
Sprite* pSprite = new Sprite;
pSprite->LoadBG( sSongBGPath );
pSprite->Load( Sprite::SongBGTexture(sSongBGPath) );
pSprite->StretchTo( FullScreenRectF );
pFrame->AddChild( pSprite );
pSprite = new Sprite;
pSprite->LoadBG( sVisPath );
pSprite->Load( Sprite::SongBGTexture(sVisPath) );
pSprite->StretchTo( FullScreenRectF );
pSprite->SetBlendMode( BLEND_ADD );
pFrame->AddChild( pSprite );