Fixes per code guidelines
This commit is contained in:
parent
20a9e51e4d
commit
43b40c6f4a
|
|
@ -1072,9 +1072,9 @@ void DrawFPS(int posX, int posY)
|
|||
const int fps = GetFPS();
|
||||
|
||||
const Color color =
|
||||
fps < 15 ? RED : // Low FPS
|
||||
fps < 30 ? ORANGE : // Warning FPS
|
||||
LIME; // Good FPS
|
||||
(fps < 15)? RED : // Low FPS
|
||||
(fps < 30)? ORANGE : // Warning FPS
|
||||
LIME; // Good FPS
|
||||
|
||||
DrawText(TextFormat("%2i FPS", fps), posX, posY, 20, color);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user