handle some obscure rounding errors

This commit is contained in:
Glenn Maynard
2003-05-04 05:10:51 +00:00
parent 4319eaec0b
commit 368375ca01
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -336,7 +336,7 @@ void BitmapText::DrawPrimitives()
} }
/* render the glow pass */ /* render the glow pass */
if( m_temp.glow.a != 0 ) if( m_temp.glow.a > 0.0001f )
{ {
DISPLAY->SetTextureModeGlow(); DISPLAY->SetTextureModeGlow();
+1 -1
View File
@@ -318,7 +318,7 @@ void Sprite::DrawPrimitives()
////////////////////// //////////////////////
// render the glow pass // render the glow pass
////////////////////// //////////////////////
if( m_temp.glow.a != 0 ) if( m_temp.glow.a > 0.0001f )
{ {
DISPLAY->SetTextureModeGlow(); DISPLAY->SetTextureModeGlow();
v[0].c = v[1].c = v[2].c = v[3].c = m_temp.glow; v[0].c = v[1].c = v[2].c = v[3].c = m_temp.glow;