simplify: LoadBG sets ID.iAlphaBits = 0
This commit is contained in:
@@ -144,10 +144,8 @@ void BGAnimationLayer::Init()
|
|||||||
void BGAnimationLayer::LoadFromStaticGraphic( CString sPath )
|
void BGAnimationLayer::LoadFromStaticGraphic( CString sPath )
|
||||||
{
|
{
|
||||||
Init();
|
Init();
|
||||||
RageTextureID ID(sPath);
|
|
||||||
ID.iAlphaBits = 0;
|
|
||||||
Sprite* pSprite = new Sprite;
|
Sprite* pSprite = new Sprite;
|
||||||
pSprite->LoadBG( ID );
|
pSprite->LoadBG( sPath );
|
||||||
pSprite->StretchTo( FullScreenRectI );
|
pSprite->StretchTo( FullScreenRectI );
|
||||||
m_SubActors.push_back( pSprite );
|
m_SubActors.push_back( pSprite );
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user