Add 60 FPS limit

cpp
Elnu 3 years ago
parent e663e8c061
commit 797ab34246

@ -145,8 +145,10 @@ class Block {
int main()
{
srand(time(NULL));
sf::RenderWindow window(sf::VideoMode(WINDOW_WIDTH, WINDOW_HEIGHT), "elnutris");
window.setFramerateLimit(60);
Block block;

Loading…
Cancel
Save