FPSCounter: Remove redundant destructor.
This commit is contained in:
parent
3b978f7c27
commit
eaa7460636
|
@ -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())
|
||||
|
|
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue