set FPS to 60
This commit is contained in:
parent
97c02b2425
commit
c84de7c5d2
1 changed files with 18 additions and 3 deletions
|
|
@ -48,8 +48,8 @@ int main(void)
|
|||
bool active = false;
|
||||
int framesCounter = 0;
|
||||
|
||||
SetTargetFPS(120);
|
||||
//--------------------------------------------------------------------------------------
|
||||
SetTargetFPS(60); // Set our game to run at 60 frames-per-second
|
||||
//---------------------------------------------------------------------------------------
|
||||
|
||||
// Main game loop
|
||||
while (!WindowShouldClose()) // Detect window close button or ESC key
|
||||
|
|
|
|||
Loading…
Reference in a new issue