Add 60 FPS limit
This commit is contained in:
parent
e663e8c061
commit
797ab34246
1 changed files with 2 additions and 0 deletions
|
@ -146,7 +146,9 @@ int main()
|
|||
{
|
||||
srand(time(NULL));
|
||||
|
||||
|
||||
sf::RenderWindow window(sf::VideoMode(WINDOW_WIDTH, WINDOW_HEIGHT), "elnutris");
|
||||
window.setFramerateLimit(60);
|
||||
|
||||
Block block;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue