s/CRECT/RectI/
This commit is contained in:
@@ -31,7 +31,7 @@ void TransitionStarWipe::DrawPrimitives()
|
||||
if( m_TransitionState == opened )
|
||||
return;
|
||||
else if( m_TransitionState == closed ) {
|
||||
m_rect.StretchTo( CRect(0,0,SCREEN_WIDTH,SCREEN_HEIGHT) );
|
||||
m_rect.StretchTo( RectI(0,0,SCREEN_WIDTH,SCREEN_HEIGHT) );
|
||||
m_rect.SetDiffuse( RageColor(0,0,0,1) );
|
||||
m_rect.Draw();
|
||||
return;
|
||||
@@ -78,7 +78,7 @@ void TransitionStarWipe::DrawPrimitives()
|
||||
int x_rect_trailing_edge = ( bIsAnEvenRow ? 0-1 : SCREEN_WIDTH+1 );
|
||||
int y_top = y - m_iStarHeight/2;
|
||||
int y_bot = y + m_iStarHeight/2+1;
|
||||
m_rect.StretchTo( CRect(x_rect_leading_edge, y_top, x_rect_trailing_edge, y_bot) );
|
||||
m_rect.StretchTo( RectI(x_rect_leading_edge, y_top, x_rect_trailing_edge, y_bot) );
|
||||
m_rect.SetDiffuse( RageColor(0,0,0,1) );
|
||||
m_rect.Draw();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user