Merge branch 'color-text-fps' of https://github.com/m-Torio/raylib into color-text-fps
This commit is contained in:
commit
875d0f0aac
|
|
@ -1089,6 +1089,7 @@ void DrawFPS(int posX, int posY)
|
||||||
|
|
||||||
DrawText(TextFormat("%2i FPS", fps), posX, posY, 20, color);
|
DrawText(TextFormat("%2i FPS", fps), posX, posY, 20, color);
|
||||||
}
|
}
|
||||||
|
// Draw current FPS, but based on one user-specified color
|
||||||
void DrawFPS(int posX, int posY, Color color)
|
void DrawFPS(int posX, int posY, Color color)
|
||||||
{
|
{
|
||||||
int fps = GetFPS();
|
int fps = GetFPS();
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user