Draw FPS - use const for color
This commit is contained in:
parent
9c057b834f
commit
20a9e51e4d
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user