mirror of
https://github.com/raysan5/raylib.git
synced 2025-09-07 11:58:13 +00:00
Limiting FPS to 60 for uniformity with other examples.
This commit is contained in:
@@ -88,6 +88,7 @@ int main()
|
|||||||
// Initial index not set, will be automatically bounded below.
|
// Initial index not set, will be automatically bounded below.
|
||||||
int currentPalette = -1;
|
int currentPalette = -1;
|
||||||
|
|
||||||
|
SetTargetFPS(60); // Set our game to run at 60 frames-per-second
|
||||||
//--------------------------------------------------------------------------------------
|
//--------------------------------------------------------------------------------------
|
||||||
|
|
||||||
// Main game loop
|
// Main game loop
|
||||||
|
Reference in New Issue
Block a user