FPSCounter: Change Update's return type to void

Its returned value is never used.
This commit is contained in:
Lioncash
2015-09-29 09:57:54 -04:00
parent 55c7754738
commit 4a981e3a04
2 changed files with 4 additions and 6 deletions

View File

@ -14,10 +14,9 @@ public:
// Initializes the FPS counter.
FPSCounter();
// Called when a frame is rendered. Returns the value to be displayed on
// screen as the FPS counter (updated every second).
int Update();
// Called when a frame is rendered (updated every second).
void Update();
unsigned int GetFPS() const { return m_fps; }
private: