From 8a7d7b30d8864cd8c200909097d0661c4d311e28 Mon Sep 17 00:00:00 2001 From: Kiril Kovachev Date: Sat, 25 Jan 2025 01:12:30 +0000 Subject: [PATCH] Set target FPS to 60 --- src/main.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/main.c b/src/main.c index cbc76d7..ddb6816 100644 --- a/src/main.c +++ b/src/main.c @@ -19,6 +19,9 @@ int main () // Create the window and OpenGL context InitWindow(1280, 800, "Touhou Jikuusen ~ Apotheotic Heterochronicity"); + // Set the framerate to 60fps + SetTargetFPS(60); + // Utility function from resource_dir.h to find the resources folder and set it as the current working directory so we can load from it SearchAndSetResourceDir("resources");