summaryrefslogtreecommitdiffhomepage
path: root/examples/textures
diff options
context:
space:
mode:
Diffstat (limited to 'examples/textures')
-rw-r--r--examples/textures/textures_bunnymark.c4
-rw-r--r--examples/textures/textures_rectangle.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/examples/textures/textures_bunnymark.c b/examples/textures/textures_bunnymark.c
index 86605b90..8182102c 100644
--- a/examples/textures/textures_bunnymark.c
+++ b/examples/textures/textures_bunnymark.c
@@ -98,8 +98,8 @@ int main(void)
}
DrawRectangle(0, 0, screenWidth, 40, BLACK);
- DrawText(FormatText("bunnies: %i", bunniesCount), 120, 10, 20, GREEN);
- DrawText(FormatText("batched draw calls: %i", 1 + bunniesCount/MAX_BATCH_ELEMENTS), 320, 10, 20, MAROON);
+ DrawText(TextFormat("bunnies: %i", bunniesCount), 120, 10, 20, GREEN);
+ DrawText(TextFormat("batched draw calls: %i", 1 + bunniesCount/MAX_BATCH_ELEMENTS), 320, 10, 20, MAROON);
DrawFPS(10, 10);
diff --git a/examples/textures/textures_rectangle.c b/examples/textures/textures_rectangle.c
index 8be647a2..1665917e 100644
--- a/examples/textures/textures_rectangle.c
+++ b/examples/textures/textures_rectangle.c
@@ -71,7 +71,7 @@ int main(void)
DrawRectangleLines(15 + frameRec.x, 40 + frameRec.y, frameRec.width, frameRec.height, RED);
DrawText("FRAME SPEED: ", 165, 210, 10, DARKGRAY);
- DrawText(FormatText("%02i FPS", framesSpeed), 575, 210, 10, DARKGRAY);
+ DrawText(TextFormat("%02i FPS", framesSpeed), 575, 210, 10, DARKGRAY);
DrawText("PRESS RIGHT/LEFT KEYS to CHANGE SPEED!", 290, 240, 10, DARKGRAY);
for (int i = 0; i < MAX_FRAME_SPEED; i++)