From b7c56989f462b7fa97749c0b80cb3c271c3a9908 Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Sun, 4 May 2003 05:13:30 +0000 Subject: [PATCH] disable blending hack --- stepmania/src/Sprite.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/stepmania/src/Sprite.cpp b/stepmania/src/Sprite.cpp index 8d43b82cd9..952c2ef655 100644 --- a/stepmania/src/Sprite.cpp +++ b/stepmania/src/Sprite.cpp @@ -300,10 +300,11 @@ void Sprite::DrawPrimitives() /* If the texture doesn't have alpha, and we're not changing alpha in diffuse, * don't bother to blend when doing the diffuse pass. */ +/* I'm not sure this actually helps anywhere. if(m_pTexture && !m_bBlendAdd && m_pTexture->GetActualID().iAlphaBits == 0 && m_temp.diffuse[0].a + m_temp.diffuse[1].a + m_temp.diffuse[2].a + m_temp.diffuse[3].a == 4) glDisable(GL_BLEND); - +*/ ////////////////////// // render the diffuse pass ////////////////////// @@ -312,7 +313,7 @@ void Sprite::DrawPrimitives() v[2].c = m_temp.diffuse[3]; // bottom right v[3].c = m_temp.diffuse[1]; // top right DISPLAY->DrawQuad( v ); - glEnable(GL_BLEND); +// glEnable(GL_BLEND); } //////////////////////