Skip to content

Commit

Permalink
don't render shadows... they dont even work according to other commen…
Browse files Browse the repository at this point in the history
…ts on the matter
  • Loading branch information
MinaciousGrace committed Jun 10, 2017
1 parent 50161ce commit ce38224
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions src/BitmapText.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -702,21 +702,6 @@ void BitmapText::DrawPrimitives()
// Draw if we're not fully transparent or the zbuffer is enabled
if( m_pTempState->diffuse[0].a != 0 )
{
// render the shadow
if( m_fShadowLengthX != 0 || m_fShadowLengthY != 0 )
{
DISPLAY->PushMatrix();
DISPLAY->TranslateWorld( m_fShadowLengthX, m_fShadowLengthY, 0 );

RageColor c = m_ShadowColor;
c.a *= m_pTempState->diffuse[0].a;
for( unsigned i=0; i<m_aVertices.size(); i++ )
m_aVertices[i].c = c;
DrawChars( false );

DISPLAY->PopMatrix();
}

// render the stroke
RageColor stroke_color= GetCurrStrokeColor();
if( stroke_color.a > 0 )
Expand Down

0 comments on commit ce38224

Please sign in to comment.