fix goofy lifemeter and disappearing HoldNote bodies (z-buffer problems)

This commit is contained in:
Chris Danford
2003-05-15 06:33:08 +00:00
parent 54bedc3eba
commit 6f2ace362f
2 changed files with 11 additions and 6 deletions
+6
View File
@@ -419,6 +419,8 @@ void NoteDisplay::DrawHold( const HoldNote& hn, const bool bActive, const float
const RectF *pRect = pBottomCap->GetCurrentTextureCoordRect();
DISPLAY->SetTexture( pTexture );
DISPLAY->SetBlendMode( BLEND_NORMAL );
DISPLAY->SetBackfaceCull( false );
DISPLAY->SetZBuffer( false );
if( bDrawGlowOnly )
DISPLAY->SetTextureModeGlow();
else
@@ -484,6 +486,8 @@ void NoteDisplay::DrawHold( const HoldNote& hn, const bool bActive, const float
const RectF *pRect = pSprBody->GetCurrentTextureCoordRect();
DISPLAY->SetTexture( pTexture );
DISPLAY->SetBlendMode( BLEND_NORMAL );
DISPLAY->SetBackfaceCull( false );
DISPLAY->SetZBuffer( false );
if( bDrawGlowOnly )
DISPLAY->SetTextureModeGlow();
else
@@ -562,6 +566,8 @@ void NoteDisplay::DrawHold( const HoldNote& hn, const bool bActive, const float
const RectF *pRect = pSprTopCap->GetCurrentTextureCoordRect();
DISPLAY->SetTexture( pTexture );
DISPLAY->SetBlendMode( BLEND_NORMAL );
DISPLAY->SetBackfaceCull( false );
DISPLAY->SetZBuffer( false );
if( bDrawGlowOnly )
DISPLAY->SetTextureModeGlow();
else