From 38cd4b0ee48fc10a54ec4093608a0710f05a618c Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Mon, 24 Mar 2003 21:05:23 +0000 Subject: [PATCH] I'm not seeing gaps, but these hacks are causing me to see seams of saturation for transparent backgrounds. Are they needed anywhere? --- stepmania/src/BGAnimationLayer.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/stepmania/src/BGAnimationLayer.cpp b/stepmania/src/BGAnimationLayer.cpp index 8ac05b04e5..8cf31931ac 100644 --- a/stepmania/src/BGAnimationLayer.cpp +++ b/stepmania/src/BGAnimationLayer.cpp @@ -342,8 +342,8 @@ void BGAnimationLayer::LoadFromAniLayerFile( CString sPath ) m_fTilesStartY = s.GetUnzoomedHeight() / 2; m_fTilesSpacingX = s.GetUnzoomedWidth(); m_fTilesSpacingY = s.GetUnzoomedHeight(); - m_fTilesSpacingX -= 1; // HACK: Fix textures with transparence have gaps - m_fTilesSpacingY -= 1; // HACK: Fix textures with transparence have gaps +// m_fTilesSpacingX -= 1; // HACK: Fix textures with transparence have gaps +// m_fTilesSpacingY -= 1; // HACK: Fix textures with transparence have gaps for( int x=0; xGetUnzoomedWidth(); - m_fTilesSpacingX -= 1; // HACK: Fix textures with transparence have gaps +// m_fTilesSpacingX -= 1; // HACK: Fix textures with transparence have gaps } if( m_fTilesSpacingY == -1 ) { m_fTilesSpacingY = m_Sprites.back()->GetUnzoomedHeight(); - m_fTilesSpacingY -= 1; // HACK: Fix textures with transparence have gaps +// m_fTilesSpacingY -= 1; // HACK: Fix textures with transparence have gaps } m_iNumTilesWide = 2+(int)(SCREEN_WIDTH /m_fTilesSpacingX); m_iNumTilesHigh = 2+(int)(SCREEN_HEIGHT/m_fTilesSpacingY);