Draw FPS - use const for color

This commit is contained in:
Umut Alev 2023-09-04 22:53:58 -07:00
parent 9c057b834f
commit 20a9e51e4d

View File

@ -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