summaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorRay <[email protected]>2023-09-05 20:04:21 +0200
committerRay <[email protected]>2023-09-05 20:04:21 +0200
commit9cce5a93fffe6e297c004480b9b941d70bf4cd9e (patch)
tree4b73143485e50eb12fc878692ccba4499ff918bd /src
parentc104a975904f23d011cb6072f98945b8d38eff17 (diff)
downloadraylib-9cce5a93fffe6e297c004480b9b941d70bf4cd9e.tar.gz
raylib-9cce5a93fffe6e297c004480b9b941d70bf4cd9e.zip
Fix #3293
Diffstat (limited to 'src')
-rw-r--r--src/rtext.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rtext.c b/src/rtext.c
index 5ca97d06..04d7a2a1 100644
--- a/src/rtext.c
+++ b/src/rtext.c
@@ -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)