Update rtext.c

This commit is contained in:
m-Torio 2023-12-30 21:37:52 -07:00 • committed by GitHub
commit 72fac1b9df
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1089,6 +1089,7 @@ void DrawFPS(int posX, int posY)
DrawText(TextFormat("%2i FPS", fps), posX, posY, 20, color);
}
// Draw current FPS, but based on one user-specified color
void DrawFPS(int posX, int posY, Color color)
{
int fps = GetFPS();