Fixes per code guidelines

This commit is contained in:
Umut Alev 2023-09-04 23:45:41 -07:00
parent 20a9e51e4d
commit 43b40c6f4a

View File

@ -1072,9 +1072,9 @@ void DrawFPS(int posX, int posY)
const int fps = GetFPS(); const int fps = GetFPS();
const Color color = const Color color =
fps < 15 ? RED : // Low FPS (fps < 15)? RED : // Low FPS
fps < 30 ? ORANGE : // Warning FPS (fps < 30)? ORANGE : // Warning FPS
LIME; // Good FPS LIME; // Good FPS
DrawText(TextFormat("%2i FPS", fps), posX, posY, 20, color); DrawText(TextFormat("%2i FPS", fps), posX, posY, 20, color);
} }