mirror of
https://github.com/alexbatalov/fallout2-ce.git
synced 2024-11-01 23:26:57 +00:00
Add missing include
This commit is contained in:
parent
b1216967c0
commit
bf9b865efd
@ -2,7 +2,7 @@
|
||||
|
||||
#include <SDL.h>
|
||||
|
||||
FpsLimiter::FpsLimiter(size_t fps)
|
||||
FpsLimiter::FpsLimiter(std::size_t fps)
|
||||
: _fps(fps)
|
||||
, _ticks(0)
|
||||
{
|
||||
|
@ -1,15 +1,17 @@
|
||||
#ifndef FPS_LIMITER_H
|
||||
#define FPS_LIMITER_H
|
||||
|
||||
#include <cstddef>
|
||||
|
||||
class FpsLimiter {
|
||||
public:
|
||||
FpsLimiter(size_t fps = 60);
|
||||
FpsLimiter(std::size_t fps = 60);
|
||||
void mark();
|
||||
void throttle() const;
|
||||
|
||||
private:
|
||||
const size_t _fps;
|
||||
size_t _ticks;
|
||||
const std::size_t _fps;
|
||||
std::size_t _ticks;
|
||||
};
|
||||
|
||||
#endif /* FPS_LIMITER_H */
|
||||
|
Loading…
Reference in New Issue
Block a user