From d27c554ef1a799cae4edeab0bf1111ae2e2175f2 Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Sun, 11 Sep 2005 23:30:44 +0000 Subject: [PATCH] don't update every frame, only on initial load --- stepmania/src/GraphDisplay.cpp | 7 ------- stepmania/src/GraphDisplay.h | 1 - 2 files changed, 8 deletions(-) diff --git a/stepmania/src/GraphDisplay.cpp b/stepmania/src/GraphDisplay.cpp index 5c767bcce9..8d464c5648 100644 --- a/stepmania/src/GraphDisplay.cpp +++ b/stepmania/src/GraphDisplay.cpp @@ -285,13 +285,6 @@ void GraphDisplay::UpdateVerts() m_pGraphLine->Set(); } -void GraphDisplay::Update( float fDeltaTime ) -{ - ActorFrame::Update( fDeltaTime ); - - UpdateVerts(); -} - // lua start #include "LuaBinding.h" diff --git a/stepmania/src/GraphDisplay.h b/stepmania/src/GraphDisplay.h index 15ea9054d8..697d976fe8 100644 --- a/stepmania/src/GraphDisplay.h +++ b/stepmania/src/GraphDisplay.h @@ -17,7 +17,6 @@ public: virtual void LoadFromNode( const CString& sDir, const XNode* pNode ); void LoadFromStageStats( const StageStats &ss, const PlayerStageStats &s ); - void Update( float fDeltaTime ); // // Lua