mirror of
https://github.com/dylanbenzi/pacmen-sfml.git
synced 2026-11-27 08:26:59 +00:00
modify framerate max to 60fps
This commit is contained in:
+1
-1
@@ -30,7 +30,7 @@ int main()
|
|||||||
return -1;
|
return -1;
|
||||||
|
|
||||||
auto window = sf::RenderWindow(sf::VideoMode({1920u, 1080u}), "Pacmen");
|
auto window = sf::RenderWindow(sf::VideoMode({1920u, 1080u}), "Pacmen");
|
||||||
window.setFramerateLimit(144);
|
window.setFramerateLimit(60);
|
||||||
|
|
||||||
const sf::Font bitFont("assets/PressStart2P.ttf");
|
const sf::Font bitFont("assets/PressStart2P.ttf");
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user