Add FPS to gamepad info example and try for max FPS
This commit is contained in:
parent
3691c488c8
commit
e5009550c4
|
|
@ -30,7 +30,7 @@ int main(void)
|
|||
|
||||
InitWindow(screenWidth, screenHeight, "raylib [core] example - gamepad information");
|
||||
|
||||
SetTargetFPS(60); // Set our game to run at 60 frames-per-second
|
||||
// SetTargetFPS(60); // Set our game to run at 60 frames-per-second
|
||||
|
||||
// Main game loop
|
||||
while (!WindowShouldClose()) // Detect window close button or ESC key
|
||||
|
|
@ -62,6 +62,8 @@ int main(void)
|
|||
}
|
||||
}
|
||||
|
||||
DrawFPS(100, 100);
|
||||
|
||||
EndDrawing();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user