[Examples] set FPS to 60 (#4235)

* set FPS to 60

* remove extra commented lines
This commit is contained in:
Anthony Carbajal 2024-08-10 13:07:23 -05:00 committed by GitHub
parent 46cb6af437
commit 418b878053
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 14 additions and 3 deletions

View file

@ -38,6 +38,8 @@ int main(void)
texture = LoadTextureFromImage(image); // Recreate texture from retrieved image data (RAM -> VRAM)
UnloadImage(image); // Unload retrieved image data from CPU memory (RAM)
SetTargetFPS(60); // Set our game to run at 60 frames-per-second
//---------------------------------------------------------------------------------------
// Main game loop