From 20a9e51e4d449ead6c4a5c792b93426366b88762 Mon Sep 17 00:00:00 2001 From: Umut Alev Date: Mon, 4 Sep 2023 22:53:58 -0700 Subject: [PATCH] Draw FPS - use const for color --- src/rtext.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rtext.c b/src/rtext.c index 66ccc78ca..318210489 100644 --- a/src/rtext.c +++ b/src/rtext.c @@ -1071,7 +1071,7 @@ void DrawFPS(int posX, int posY) { const int fps = GetFPS(); - Color color = + const Color color = fps < 15 ? RED : // Low FPS fps < 30 ? ORANGE : // Warning FPS LIME; // Good FPS