FPSCounter: Remove redundant destructor.

This commit is contained in:
Jules Blok 2014-07-18 12:49:40 +02:00
parent 3b978f7c27
commit eaa7460636
2 changed files with 0 additions and 9 deletions

View File

@ -18,12 +18,6 @@ FPSCounter::FPSCounter()
m_render_time.Update();
}
FPSCounter::~FPSCounter()
{
if (m_bench_file.is_open())
m_bench_file.close();
}
void FPSCounter::LogRenderTimeToFile(u64 val)
{
if (!m_bench_file.is_open())

View File

@ -16,9 +16,6 @@ public:
// Initializes the FPS counter.
FPSCounter();
// Shutdown the FPS counter by closing the logs.
~FPSCounter();
// Called when a frame is rendered. Returns the value to be displayed on
// screen as the FPS counter (updated every second).
int Update();