consolidate Enable/DisableTextureWrapping

This commit is contained in:
Glenn Maynard
2003-04-10 18:25:17 +00:00
parent 753507fce8
commit 6e6c60858a
4 changed files with 9 additions and 16 deletions
+2 -2
View File
@@ -391,7 +391,7 @@ void NoteDisplay::DrawHold( const HoldNote& hn, const bool bActive, const float
DISPLAY->SetTextureModeGlow();
else
DISPLAY->SetTextureModeModulate();
DISPLAY->DisableTextureWrapping();
DISPLAY->EnableTextureWrapping(false);
const float fFrameWidth = pBottomCap->GetUnzoomedWidth();
const float fFrameHeight = pBottomCap->GetUnzoomedHeight();
@@ -534,7 +534,7 @@ void NoteDisplay::DrawHold( const HoldNote& hn, const bool bActive, const float
DISPLAY->SetTextureModeGlow();
else
DISPLAY->SetTextureModeModulate();
DISPLAY->DisableTextureWrapping();
DISPLAY->EnableTextureWrapping(false);
const float fFrameWidth = pSprTopCap->GetUnzoomedWidth();
const float fFrameHeight = pSprTopCap->GetUnzoomedHeight();