remove unused fDeltaTime
This commit is contained in:
@@ -486,7 +486,7 @@ CString RageDisplay_OGL::Init( VideoModeParams p, bool bAllowUnacceleratedRender
|
||||
|
||||
void RageDisplay_OGL::Update(float fDeltaTime)
|
||||
{
|
||||
wind->Update(fDeltaTime);
|
||||
wind->Update();
|
||||
|
||||
if( PREFSMAN->m_bDisableScreenSaver )
|
||||
{
|
||||
|
||||
@@ -20,7 +20,7 @@ public:
|
||||
virtual CString TryVideoMode( RageDisplay::VideoModeParams p, bool &bNewDeviceOut ) = 0;
|
||||
|
||||
virtual void SwapBuffers() = 0;
|
||||
virtual void Update(float fDeltaTime) { }
|
||||
virtual void Update() { }
|
||||
|
||||
virtual RageDisplay::VideoModeParams GetVideoModeParams() const = 0;
|
||||
};
|
||||
|
||||
@@ -178,7 +178,7 @@ void LowLevelWindow_SDL::SwapBuffers()
|
||||
SDL_GL_SwapBuffers();
|
||||
}
|
||||
|
||||
void LowLevelWindow_SDL::Update(float fDeltaTime)
|
||||
void LowLevelWindow_SDL::Update()
|
||||
{
|
||||
/* This needs to be called before anything that handles SDL events. */
|
||||
SDL_PumpEvents();
|
||||
|
||||
@@ -11,7 +11,7 @@ public:
|
||||
void *GetProcAddress(CString s);
|
||||
CString TryVideoMode( RageDisplay::VideoModeParams p, bool &bNewDeviceOut );
|
||||
void SwapBuffers();
|
||||
void Update(float fDeltaTime);
|
||||
void Update();
|
||||
|
||||
RageDisplay::VideoModeParams GetVideoModeParams() const { return CurrentParams; }
|
||||
|
||||
|
||||
@@ -216,7 +216,7 @@ void LowLevelWindow_Win32::SwapBuffers()
|
||||
::SwapBuffers( GraphicsWindow::GetHDC() );
|
||||
}
|
||||
|
||||
void LowLevelWindow_Win32::Update( float fDeltaTime )
|
||||
void LowLevelWindow_Win32::Update()
|
||||
{
|
||||
GraphicsWindow::Update();
|
||||
}
|
||||
|
||||
@@ -11,7 +11,7 @@ public:
|
||||
void *GetProcAddress( CString s );
|
||||
CString TryVideoMode( RageDisplay::VideoModeParams p, bool &bNewDeviceOut );
|
||||
void SwapBuffers();
|
||||
void Update( float fDeltaTime );
|
||||
void Update();
|
||||
|
||||
RageDisplay::VideoModeParams GetVideoModeParams() const;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user