From 3c247ff138e00e3590eb0228e692f7be39f0cacd Mon Sep 17 00:00:00 2001 From: Chris Danford Date: Tue, 19 Apr 2005 04:04:37 +0000 Subject: [PATCH] fix edit elements drawing way off screen in boomerang causing artifacts on some hardware --- stepmania/src/NoteField.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/stepmania/src/NoteField.h b/stepmania/src/NoteField.h index 613baf3e80..5819714f5a 100644 --- a/stepmania/src/NoteField.h +++ b/stepmania/src/NoteField.h @@ -44,6 +44,8 @@ public: protected: void CacheAllUsedNoteSkins(); + bool IsOnScreen( float fBeat, int iFirstPixelToDraw, int iLastPixelToDraw ); + void DrawBeatBar( const float fBeat ); void DrawMarkerBar( int fBeat ); void DrawAreaHighlight( int iStartBeat, int iEndBeat );