Add FPS to gamepad info example and try for max FPS

This commit is contained in:
Michael 2023-10-13 20:11:26 -04:00
parent 3691c488c8
commit e5009550c4

View File

@ -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();
}