diff --git a/stepmania/src/Transition.cpp b/stepmania/src/Transition.cpp index aa3f62da22..2f2951555c 100644 --- a/stepmania/src/Transition.cpp +++ b/stepmania/src/Transition.cpp @@ -81,18 +81,13 @@ void Transition::Update( float fDeltaTime ) } } +bool Transition::EarlyAbortDraw() +{ + return m_State != transitioning; +} + void Transition::DrawPrimitives() { - // Unless we're transitioning, don't draw because we'll waste resources drawing things - // that aren't visible. -Chris - switch( m_State ) - { - case waiting: - return; - case finished: - return; - } - m_BGAnimation.Draw(); } diff --git a/stepmania/src/Transition.h b/stepmania/src/Transition.h index a1f670f636..6303cbf29c 100644 --- a/stepmania/src/Transition.h +++ b/stepmania/src/Transition.h @@ -28,6 +28,7 @@ public: virtual void DrawPrimitives(); virtual void StartTransitioning( ScreenMessage send_when_done = SM_None ); + virtual bool EarlyAbortDraw(); bool IsTransitioning() const { return m_State == transitioning; }; bool IsFinished() const { return m_State == finished; };