From 081bb9bea27301c19dbf6e43e201885c5819c4d7 Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Mon, 1 Sep 2003 21:45:45 +0000 Subject: [PATCH] Fix movie background layers with Type=1. --- stepmania/src/BGAnimationLayer.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/stepmania/src/BGAnimationLayer.cpp b/stepmania/src/BGAnimationLayer.cpp index faf03798e9..9794e7719e 100644 --- a/stepmania/src/BGAnimationLayer.cpp +++ b/stepmania/src/BGAnimationLayer.cpp @@ -573,10 +573,12 @@ void BGAnimationLayer::LoadFromIni( CString sAniDir, CString sLayer ) Sprite* pSprite = new Sprite; m_pActors.push_back( pSprite ); RageTextureID ID(sPath); - ID.bStretch = true; + /* Don't stretch. It takes a lot of time to resize the image, we don't support + * it at all for movie textures, and it lowers the quality of the image slightly. */ +// ID.bStretch = true; pSprite->LoadBG( ID ); pSprite->StretchTo( RectI(SCREEN_LEFT,SCREEN_TOP,SCREEN_RIGHT,SCREEN_BOTTOM) ); - pSprite->SetCustomTextureRect( RectF(0,0,1,1) ); +// pSprite->SetCustomTextureRect( RectF(0,0,1,1) ); } break; case TYPE_PARTICLES: