mirror of
https://github.com/raysan5/raylib.git
synced 2025-12-06 14:23:12 +00:00
Limiting FPS to 60 for uniformity with other examples.
This commit is contained in:
parent
0fe56b1674
commit
0c5bee4c9a
@ -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
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user