Fixes per code guidelines
This commit is contained in:
parent
20a9e51e4d
commit
43b40c6f4a
|
|
@ -1072,8 +1072,8 @@ 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);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user