fixed some ScreenGameplay transition glitches

fix cracks in BGAnimation tiles (mostly)
This commit is contained in:
Chris Danford
2003-03-12 01:26:44 +00:00
parent 443aad8e10
commit 4a239b0c35
11 changed files with 119 additions and 92 deletions
+3 -3
View File
@@ -243,9 +243,9 @@ void Sprite::DrawPrimitives()
v[2].t = RageVector2( pTexCoordRect->right, pTexCoordRect->bottom ); // bottom right
v[3].t = RageVector2( pTexCoordRect->right, pTexCoordRect->top ); // top right
// if the texture has more than one frame, we're going to get border mess from the
// neighboring frame, so don't bother turning wrapping off.
if( m_pTexture->GetNumFrames() == 1 )
if( m_bTextureWrapping )
DISPLAY->EnableTextureWrapping();
else
DISPLAY->DisableTextureWrapping();
}
}