Skip to content

Commit

Permalink
Fix #3293
Browse files Browse the repository at this point in the history
  • Loading branch information
raysan5 committed Sep 5, 2023
1 parent c104a97 commit 9cce5a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/rtext.c
Original file line number Diff line number Diff line change
Expand Up @@ -1075,7 +1075,7 @@ void DrawFPS(int posX, int posY)
if ((fps < 30) && (fps >= 15)) color = ORANGE; // Warning FPS
else if (fps < 15) color = RED; // Low FPS

DrawText(TextFormat("%2i FPS", GetFPS()), posX, posY, 20, color);
DrawText(TextFormat("%2i FPS", fps), posX, posY, 20, color);
}

// Draw text (using default font)
Expand Down

0 comments on commit 9cce5a9

Please sign in to comment.