From e5009550c429a42a71fad68a791d5a2a87d6ae62 Mon Sep 17 00:00:00 2001 From: Michael Date: Fri, 13 Oct 2023 20:11:26 -0400 Subject: [PATCH] Add FPS to gamepad info example and try for max FPS --- examples/core/core_input_gamepad_info.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/examples/core/core_input_gamepad_info.c b/examples/core/core_input_gamepad_info.c index 77a4a5da1..67a7a0102 100644 --- a/examples/core/core_input_gamepad_info.c +++ b/examples/core/core_input_gamepad_info.c @@ -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(); }